@charset="euc-k";

/************************LOGIN_BOX*****************************/
.login_box {    display: flex;  flex-flow: row wrap;  align-items: center;  width:100%;  max-width:1280px;  margin:0 auto;}
.login_box label {  margin: 5px 10px 5px 0;}
.login_box input[type=text], input[type=password] {  vertical-align: middle;  margin: 5px 10px 5px 0;  padding: 10px;  background-color: #fff;  border: 1px solid #ddd;}
.login_box input[type=submit] {  vertical-align: middle;  margin: 5px 10px 5px 0;  padding: 10px; border: 1px solid #ddd;}

@media (max-width: 800px) {
  .login_box input {   margin: 10px 0;  }
  .login_box {   flex-direction: column;   align-items: stretch;  }
}





/************************WRITE_BOX*****************************/

.write_box  input[type=text], select, textarea {
  width: 100%;  padding: 12px;  border: 1px solid #ccc;  border-radius: 4px;  resize: vertical;}
.write_box input[type=file]  {
    width: 100%;  padding: 12px;  border: 1px solid #ccc;  border-radius: 4px;  resize: vertical; background: #fff;}
.write_box input[type=password]  {
    width: 100%;  padding: 12px;  border: 1px solid #ccc;  border-radius: 4px;  resize: vertical; background: #fff;}
.write_box  label {  padding: 12px 12px 12px 0;  display: inline-block;}
.write_box {  border-radius: 5px;  background-color: #fcfcfc;  padding: 20px;  max-width:1280px;  margin:0 auto;  width:100%;}

.titled {  float: left;  width: 20%;  margin-top: 6px;}
.texted {  float: left;  width: 80%;  margin-top: 6px;}

.writing:after {  content: "";  display: table;  clear: both;}

@media screen and (max-width: 600px) {
  .titleist, .texted , input[type=submit] {
    width: 100%;
    margin-top: 0;
  }

}






/************************SEARCH_BOX*****************************/
/*checking*/
.search_box { font-size:.8rem; overflow: hidden; margin:0 auto; width:100%; max-width:890px; margin-top:30px; }
.checking { width:100%; max-width:300px; float:left; padding-top:5px;}
.checking label { margin-right:50px; display: block; float:left; position: relative;  padding-left: 35px;  margin-bottom: 12px;  cursor: pointer;  -webkit-user-select: none;  -moz-user-select: none;  -ms-user-select: none;  user-select: none;}

.checking label input {  position: absolute;  opacity: 0;  cursor: pointer;}
.checking label:hover input ~ .checkmark {  background-color: #ccc;} 
.checking label input:checked ~ .checkmark {  background-color: #1c528e;}
.checking label input:checked ~ .checkmark:after {  display: block;} 
.checking label .checkmark:after { 	top: 9px;	left: 9px;	width: 8px;	height: 8px;	border-radius: 50%;	background: white;}
.checking label span.checkmark {  position: absolute;  top: 0;  left: 0;  height: 25px;  width: 25px;  background-color: #eee;  border-radius: 50%;}

.checkmark:after {  content: "";  position: absolute;  display: none;}


/*searching*/
.searching {width:100%; display:block; max-width:500px; float:left;}
.searching input[type=text]{  padding: 10px;  font-size: 12px;  border: 1px solid grey;  float: left;  width: 90%;  background: #f1f1f1;}
.searching label { padding: 0 12px 12px 0; width:45%;  }
.searching button {  float: left;  width: 10%;  padding: 10px;  background: #1c528e;  color: white;  font-size: 12px;  border: 1px solid grey;  border-left: none;  cursor: pointer;}
.searching button img {height:100%;}
.searching button:hover {  background: #1c528e;}

.searching::after {  content: "";  clear: both;  display: table;}
.searching input  {
  width: 100%;  padding: 12px;  border: 1px solid #ccc;  border-radius: 4px 0 0 4px;  resize: vertical;}


@media screen and (max-width: 890px) {
  .checking { width:100%;  float:none; margin:0 auto;}
  .searching { width:100%; float:none;  margin:0 auto;}
  
}





/************************PAGE_BOX*****************************/
.page_box { text-align: center; font-size:.5em; }
.page_box button { padding:9px 15px; cursor: pointer; border:1px solid #eee; transition: all .5s; background: #fdfdfd;    }
.page_box button:hover { background-color: #f3f3f3;  }
.page_box button.onpg { background-color:#1c528e; color:#fff;   }



@media screen and (max-width: 890px) {

  .page_box button {font-size:.8rem;}
}









/************************NOTICE_BOX*****************************/
.notice_box { font-size:.9rem; overflow: hidden; margin-bottom:50px; border:1px solid #eee;border-left:0px; border-right:0px;}
.notice_box ul { display: flex; }
.notice_box ul li { padding:1% 0; font-size:.8rem; text-align:center; }
.notice_box ul:nth-child(even) { background: #f7f7f7;}
.notice_box ul li:nth-child(1) {  flex:1;}
.notice_box ul li:nth-child(2) { flex:5; text-align: left;}
.notice_box ul li:nth-child(3) { flex:2;}
.notice_box ul li:nth-child(4) { flex:2;}

.notice_box .notice_tit li {  font-weight:400; text-align: center;}
.notice_box .notice_tit li:nth-child(2) { text-align: center;}


@media screen and (max-width: 480px) {
  .notice_box ul li { padding:3% 0;}
}








/************************DELETE_BOX*****************************/
.delete_box { background: #fcfcfc; border:1px solid #eee; width:100%; max-width:400px; margin:0 auto; padding:2%;}
.delete_box ul li { float:none; color:#1c528e; }

.delete_box ul li:first-child { font-weight:400; margin-bottom:2%; color:#333;}
.delete_box ul li:last-child {font-size:.8rem; color:#333; margin:3% 0;}
.delete_box input  {
  width: 100%; max-width:200px;  padding: 12px;  border: 1px solid #ccc;  border-radius:4px;  resize: vertical; flex:1 0 100%; margin:0 auto;}










/*BUTTON CONTROL*/
.login_btn, .write_btn, .delete_btn, .search_btn 
{  background-color: #1c528e;  border: 1px solid #ddd;  color: white;  cursor: pointer;  transition: all .5s; }

.login_btn:hover, .write_btn:hover, .delete_btn:hover  
{  background-color: #333; transition: all .5s;}

.btn_center{ text-align:center; display:flex; flex-wrap:wrap; max-width:480px; margin:0 auto;}
.search_btn  { height:40px; }
.delete_btn  {  margin-top:5px; }
.write_btn { margin-top:25px; }

.btn_center>a {flex:1;}
.btn_center ul { flex:1 0 100%;}
.login_btn, .write_btn, .delete_btn { min-width:100px; padding: 10px 20px;}
@media screen and (max-width: 480px) {
  .write_btn {width:100%;}

}

.texted .upload {  width:80%; display: block; float:left;}
.upload_btn  { border:none; background: none;}
.upload_btn img { width:100%; max-width:50px; padding:20%;}


@media screen and (max-width: 600px) {
  .write_box { text-align: left;}
  .write_btn {width:100%;}

}







/***** viewbody *****/
.add_box>div{
	overflow:hidden;
	border-bottom:3px solid #bcbcbc;
}

.add_box ul:first-child { width:100%; overflow:hidden; line-height:1.2rem;padding:1% 0; background-color:#fafafa; border-bottom:1px solid #e9e9e9; }
.add_box ul:first-child li:first-child { width:80%; text-align:center; float:left;}
.add_box ul:first-child li:nth-child(2) { width:20%; text-align:center; }
.add_box ul:first-child li:last-child { width:; text-align:center; float:right;}

.add_box ul:nth-child(2) { padding:2% 0; overflow:hidden; }
.add_box ul:nth-child(2) li:first-child { width:100%; text-align:left; padding:0 2%; }

.add_box ul:last-child { padding:1% 0; overflow:hidden; border-top:1px solid #e9e9e9;}
.add_box ul:last-child li{line-height:180%; float:left;}
.add_box ul:last-child li:first-child { width:15%; text-align:center;}
.add_box ul:last-child li:nth-child(2) { width:30%; padding-left:1%;}
.add_box ul:last-child li:nth-child(3) { width:15%; text-align:center;}
.add_box ul:last-child li:last-child { width:40%; padding-left:1%;}


/***** gallery_list *****/
.gallery { overflow:hidden;}
.gallery ul {width:30.333%; margin:1.5%; padding:0 0 1% 0; float:left; border:1px solid #333; cursor: pointer; transition:all .5s; }
.gallery ul li { text-align: left; float:none; position:relative;  }
.gallery ul li:first-child {overflow: hidden; height:200px;}
.gallery ul li:nth-child(2) { font-size:1.1rem; font-weight:500; padding:2%;}
.gallery ul li:nth-child(3) { font-size:.9rem;  padding-left:2%;}
.gallery ul li:nth-child(4) { font-size:.8rem;  padding-left:2%; margin-top:2%;}
.gallery ul li img {width:100%; }
.gallery ul li img:hover { transform: scale(1.1);transition:1s;}
.gallery ul:hover { border:1px solid #1c528e; background: #f2f2f2;}


@media only screen and (max-width:890px){
  .gallery ul {width:30%;}
  .gallery ul li:first-child {overflow: hidden; height:125px;}
}
@media only screen and (max-width:680px){
  .gallery ul {width:97%;}
  .gallery ul li:first-child {overflow: hidden; height:auto;  float:left; width:30%; margin-right:10px; } 
  .gallery ul li:nth-child(3) {width:100%; display: inline-block;}
}

.tag_line {position: absolute; left:0px; height:20px; width:5px; background: #1c528e; display: block;   }
