body{
  -ms-overflow-style: inherit;
  overflow: overlay;
  font-family: 'SUIT';
  }
*{margin: 0;padding: 0;box-sizing: border-box}
*::before, 
*::after{margin: 0; padding: 0;box-sizing: border-box;}
ul, ol, li{list-style: none;}
ul{margin: 0;padding: 0}
a{text-decoration: none;}
.inner{margin: 0 auto;}
p{margin: 0;}
input{border: 1px solid #999;border-radius: 10px;}
input,select,textarea,button{font-family: 'SUIT';}
button{border: 0;background-color: transparent;cursor: pointer;}
input:focus,
select:focus,
textarea:focus{outline: none;border: 1px solid #4ba000;}
html{height: 100%;}
body{height: 100%;}
section{display: flex;flex-wrap: wrap;width: 100%;height: 100%;}
nav{border-bottom: 1px solid #e6e6e6;width: 100%;display: flex;align-items: center;justify-content: space-between;padding: 0 20px;height: 80px;}
/* linear-gradient(#4ba000, #328BD6) */

.login-board{position: relative;}
.login-wrap{width: 300px;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);text-align: center;}
.login-wrap img{width: 100%;height: 100%;object-fit: cover;}
.login-wrap h2{color: #4ba000;font-weight: 900;font-size: 40px;}
.sub-img {position: absolute;top: 150px;right: -50px;width: 120px;}
.sub-img img{width: 100%;height: 100%;}


.login-wrap .login{margin-top: 120px;display: flex;align-items: center;justify-content: center;flex-direction: column;}
.login-wrap .login>div{width: 100%;position: relative; display: flex;align-items: center;margin-bottom: 10px;}
.login-wrap .login>div label{position: absolute;left: 10px;top: 50%;transform: translateY(-50%);color: #e6e6e6;font-size: 22px;display: flex;align-items: center;}
.login-id label i{font-size: 18px;margin-left: 5px;}
.login-pw label i{font-size: 18px;margin-left: 5px;}
.login-id:focus-within label i{color: #4ba000;transition: 0.5s;}
.login-pw:focus-within label i{color: #4ba000;transition: 0.5s;}
.login-wrap .login>div input{width: 100%;max-width: 350px; height: 40px;border:1px solid #e6e6e6;padding: 10px;border-radius: 100px;padding-left: 40px;}
.login-wrap .login>div input:focus{outline: none;border:1px solid #4ba000;transition: 0.3s;}
.login-btn{display: flex;justify-content: center;margin: 0 auto;max-width: 350px;}
/* .login-btn a{background-image: linear-gradient(#4ba000, #328BD6);color: #fff; display: block;width: 100%;text-align: center;padding: 10px;font-weight: bold;border-radius: 100px;} */
.login-btn a:hover{opacity: 0.7;;transition: 0.3s;}
.login-btn a{background-color: #4ba000;color: #fff; display: block;width: 100%;text-align: center;padding: 10px;font-weight: bold;border-radius: 100px;}


.logo>img{display: block;height: 50px;}
.logo>span{font-weight: 800;font-size: 20px;color: #333;}
.adm-info{display: flex;align-items: center;}
.adm-info>p{margin-right: 15px;}
.adm-info>p>span{font-weight: bold;}
.adm-info>a{font-size: 14px;display: flex;align-items: center;justify-content: center;width: 80px;
border-radius: 5px;border: 1px solid #f7f7f7;height: 40px;font-weight: bold;background-color: #4ba000; color: #fff;transition: 0.3s;}
.adm-info>a:hover{opacity: 0.7;}

.board{height: calc(100% - 80px);width: 100%;overflow-y: auto;padding-bottom: 100px;}

nav ul{display: flex;align-items: center;}
nav ul li{margin-right: 30px;}
nav ul li a{color: #999;font-size: 18px;font-weight: bold;transition: 0.3s;}
nav ul li:hover a{color: #4ba000;transition: 0.3s;}
nav ul li a.on{color: #4ba000;}

/* .top-nav{background-image: linear-gradient(#4ba000, #328BD6);height: 50px;display: flex;align-items: center;} */
.top-nav{background-color: #4ba000; height: 50px;display: flex;align-items: center;font-weight: bold;}

.top-nav>p{width: 33%;color: #fff;text-align: center;font-size: 18px;}
.top-nav>p>span{padding: 0 10px;}

.board-inner{display: flex;align-items: center;}
.board-inner>ul{color: #999; border: 1px solid #e6e6e6; box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2); text-align: center; width: 33.33%;margin: 80px 0;margin-left: 80px;}
.board-inner>ul:last-of-type{margin-right: 80px;}
/* .board-inner>ul>p{font-size: 18px;height: 30px;display: flex;align-items: center;justify-content: center;background-image: linear-gradient(#4ba000, #328BD6);color: #fff;} */
.board-inner>ul>p{font-size: 18px;height: 40px;display: flex;align-items: center;justify-content: center;background-color: #e6e6e6;color: #666;font-weight: bold;}

.board-inner>ul li>p:first-of-type{text-align: center;width: 45px;}
.board-inner>ul>li{display: flex;justify-content: space-between;padding: 10px 20px;color: #666;}


table{width: calc(100% - 40px);margin: auto;text-align: center;border-collapse: collapse;}
th, td{padding: 10px;border: 1px solid #e6e6e6;height: 50px;}
th{font-weight: bold; color: #fff;background-color: #4ba000;}
tbody tr:nth-child(2n){background-color: #f7f7f7;}
tbody tr td span{word-break: break-all;}
.table th, td{width: 16.66%;}


/*  */
.board-input{width: 960px; display: flex;align-items: center;justify-content: center;margin: 80px auto;}
.board-input>p{font-size: 21px;margin-right: 20px;}
.board-input>input{height: 50px;font-size: 21px;padding: 0 5px;width: calc(100% - 560px);}
/* .board-input>button{width: 200px;font-size: 21px;margin-left: 20px;background-image: linear-gradient(#4ba000, #328BD6);height: 50px;border-radius: 10px;color: #fff;transition: 0.3s;} */
.board-input>button{width: 200px;font-size: 21px;margin-left: 20px; background-color: #4ba000;height: 50px;border-radius: 10px;color: #fff;transition: 0.3s;}
.board-input>button:hover{opacity: 0.7;transition: 0.3s;}

.data-input{display: flex;align-items: center;margin: 20px;}
.data-input>p{width: 40px;}
.data-input>input{font-size: 16px;position: relative; padding: 5px;height: 40px;width: 150px;margin: 0 10px;border-radius: 5px;}
.data-input>button{font-size: 16px;background-color: #4ba000;height: 40px;width: 150px;border-radius: 5px;color: #fff;transition: 0.3s;}
.data-input>button:hover{opacity: 0.7;transition: 0.3s;}
.data-input>input[type='date']::-webkit-calendar-picker-indicator {
position: absolute; 
left: 0;
top: 50%;
transform: translateY(-50%);
width: 100%;
height: 60%;
padding-left: 120px;
cursor: pointer;
}
.float-btn{border-top: 1px solid #e6e6e6; height: 80px;position: fixed;width: 100%;right: 0;bottom: 0;background-color: #fff;display: flex;align-items: center;justify-content: center;}
.float-btn>button{border-radius: 5px; display: flex;align-items: center;justify-content: center;width: 40px;height: 40px;border: 1px solid #e6e6e6;font-size: 16px;cursor: pointer;transition: 0.3s;margin-right: 10px;}
.float-btn>button:last-of-type{margin-right: 0;}
.float-btn>button.on{font-weight: bold;;}
.float-btn>button:hover{color: #4ba000;border-color: #4ba000;}
.float-btn>button.on{font-weight: 800;border-color: #4ba000;color: #4ba000;}
.float-btn>button:focus{transform: scale(0.9);}


.t-index tr td button{font-size: 16px; margin-right: 5px;height: 40px;width: 80px;border-radius: 5px;color: #666;border: 1px solid #e6e6e6;background-color: #fff; transition: 0.3s;}
.t-index tr td button:last-of-type{margin: 0;}
.t-index tr td button:hover{transition: 0.3s;border: 1px solid #4ba000;color: #4ba000;font-weight: 800;}

.btn{padding: 20px;}
.btn>button{font-size: 16px;margin-left: 10px;background-color: #f7f7f7; height: 40px;width: 150px;
border-radius: 5px;color: #999;border: 1px solid #e6e6e6;transition: 0.3s;}
.btn>button:hover{color: #4ba000;border: 1px solid #4ba000;transition: 0.3s;font-weight: bold;}
.btn>button:first-of-type{margin-left: 0;}
.popup{position: fixed;width: 100vw;left: 0;top: 0;height: 100vh;background-color: rgba(0, 0, 0, 0.5);z-index: 1000;}
.popup-inner{position: absolute;left: 50%;top: 50%;transform: translate(-50%, -50%);background-color: #fff;box-shadow: 1px 1px 5px rgba(153, 153, 153, 0.3);max-width: 468px;width: 100%;height: auto;max-height: 500px;}
.popup-inner ul li input{border-radius: 0;height: 40px;margin-right: 5px;padding: 0 5px;font-size: 16px;}



/* .popup-inner ul>p{margin-bottom: 20px; font-size: 18px;height: 30px;display: flex;align-items: center;justify-content: center;background-image: linear-gradient(#4ba000, #328BD6);color: #fff;} */
.popup-inner ul>p{margin-bottom: 20px; font-size: 18px;height: 40px;display: flex;align-items: center;justify-content: center;
background-color: #4ba000; color: #fff;}
.popup-inner-title{max-width: 760px;}
.popup-inner-title>p {
  margin-bottom: 20px;
  font-size: 18px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4ba000;
  color: #fff;
}
.popup-inner ul>li{display: flex;justify-content: space-between;padding: 10px 20px;align-items: center;}
.popup-btn{display: flex;align-items: center;justify-content: center;padding: 20px;}
.popup-btn button{font-size: 16px; margin-right: 10px;background-color: #4ba000; height: 40px;width: 80px;border-radius: 5px;color: #fff;transition: 0.3s}
.popup-btn button:hover{opacity: 0.7;transition: 0.3s;}



/* 글쓰기 */
.write-board{height: calc(100% - 50px);}
.write-board .write-board-inner{padding: 20px;}

.write-title{display: flex;align-items: center;}
.write-title>input{height: 50px;width: calc(100% - 60px);padding: 0 10px;font-size: 16px;border: 1px solid #e6e6e6;border-radius: 5px;}
.write-title>input:focus{border: 1px solid #4ba000;}
.write-txt{padding: 20px;height:615px;}
.write-txt textarea{border-radius: 5px; border: 1px solid #e6e6e6; font-size: 16px; resize: none;width: 100%;height: 100%;overflow-y: auto;padding: 10px;margin-top: 5px;}
.write-txt textarea:focus{border: 1px solid #4ba000;}





.file-btn{display: flex;align-items: center;justify-content: end;}
.add-img{display: block;overflow-x: auto;overflow-y: hidden;white-space: nowrap;}

.add-img>div{display: inline-block;position: relative;overflow: hidden;margin-right: 10px;}
.add-img>div>img{display: block;width: 100%;height: 100%;object-fit: cover;}
.add-img>div>label{cursor: pointer; width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;height: 30px;width: 80px;border-radius: 5px;color: #666;border: 1px solid #e6e6e6;transition: 0.3s;}
.add-img>div>label>input{display: none;}
.add-img>div>label>span{font-size: 14px;}
.add-img>div>label:hover{color: #4ba000;border: 1px solid #4ba000;transition: 0.3;}

.add-vid{display: block;overflow-x: auto;overflow-y: hidden;white-space: nowrap;}
.add-vid>div{display: inline-block;position: relative;overflow: hidden;}
.add-vid>div>img{display: block;width: 100%;height: 100%;object-fit: cover;}
.add-vid>div>label{cursor: pointer; width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;height: 30px;width: 80px;border-radius: 5px;color: #666;border: 1px solid #e6e6e6;transition: 0.3s;}
.add-vid>div>label>input{display: none;}
.add-vid>div>label>span{font-size: 14px;}
.add-vid>div>label:hover{color: #4ba000;border: 1px solid #4ba000;transition: 0.3;}



/* 0705수정 */
.data-input{position: relative;}
.data-input>.plus-btn{position: absolute;right: 0;top: 0;font-size: 16px;margin-left: 10px;background-color: #f7f7f7;height: 40px;width: 150px;border-radius: 5px;color: #999;border: 1px solid #e6e6e6;transition: 0.3s;}
.data-input>.plus-btn:hover {color: #4ba000;border: 1px solid #4ba000;transition: 0.3s;font-weight: bold;opacity: 1;}
.data-input>.plus-btn i{margin-right: 5px;}



/* 0813수정 */
.login-button{margin: 0 20px;display: flex;justify-content: center;}
.login-button a{background-color: #4ba000;color: #fff; display: block;width: 100%;text-align: center;padding: 10px;font-weight: bold;border-radius: 100px;}
.login-button a:hover{opacity: 0.7;;transition: 0.3s;}
.member-btn{margin-top: 20px;}
.member-btn a{transition: 0.3s; font-weight: bold;color: #4ba000;margin-top: 40px;}
.member-btn a:hover{opacity: 0.7;}
