@charset "UTF-8";

@font-face {
    font-family: 'Roboto';  /* 폰트 패밀리 이름 지정 */
    src: url('/resources/fonts/Roboto-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'NotoSansKR';  /* 한글 폰트 패밀리 이름 지정 */
    src: url('/resources/fonts/NotoSansKR-Medium.ttf') format('truetype');
    /* 한글 폰트 파일의 경로와 파일명을 추가 (ttf 형식 사용 예시) */
}
/* VARIABLES */
/* BASE */
html,
body {
  font-family: 'Roboto', 'NotoSansKR', sans-serif;
  font-size: 1em;
  line-height: 1.4;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color:#fdfdfd;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  overflow: hidden;
  *zoom: 1;
  margin: 0 0px;
  min-width: 300px;
}

.site-content {
  padding-top: 66px;
}

main {
	margin:20px 20px;
}
/* HEADER */
.header {
  position: fixed;
  left: 0;
  right: 0;
  height: 66px;
  line-height: 66px;
  color: #fff;
  background-color: #3f51b5;
      text-shadow:
    -0.5px -0.5px 0 #053b84,  
    0.5px -0.5px 0 #053b84,
    -0.5px 0.5px 0 #053b84,
    0.5px 0.5px 0 #053b84;
    
  z-index: 1000;
}

.header__logo {
  font-weight: 700;
  padding: 0 25px;
  float: left;
}

/* MENU */
.menu {
  float: left;
}
.menu a {
  padding: 0 10px;
}
.menu a:hover {
  color: #c5cae9;
}

/* RESPONSIVE */
@media only screen and (max-width: 768px) {
  .site-pusher,
  .site-container {
    height: 100%;
  }

  .site-container {
    overflow: hidden;
  }

  .site-pusher {
    transition-duration: 0.3s;
    transform: translateX(0px);
  }

  .site-content {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    bottom: 0;
    padding-top: 0;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .header {
    position: static;
  }

  .header__icon {
    position: relative;
    display: block;
    float: left;
    width: 50px;
    height: 66px;
    cursor: pointer;
  }
  .header__icon:after {
    content: '';
    position: absolute;
    display: block;
    width: 1rem;
    height: 0;
    top: 16px;
    left: 15px;
    box-shadow: 0 10px 0 1px #fff, 0 16px 0 1px #fff, 0 22px 0 1px #fff;
  }

  .menu {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #3849a2;
    /*    overflow-y: scroll;
        -webkit-overflow-scrolling: touch;*/
    width: 250px;
    transform: translateX(-250px);
  }
  .menu a {
    display: block;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-bottom: 1px solid #3f51b5;
  }

  .with--sidebar .site-pusher {
    transform: translateX(250px);
  }
  .with--sidebar .site-cache {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
  }
}

* {
  box-sizing: border-box;
}
/* STRUCTURE */
.wrapper {
  padding: 5px;
  max-width: 960px;
  width: 95%;
  margin: 20px auto;
}

.columns {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 5px 0;
  
  border-top: 2px solid #aaa;
}

hr {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

.column {
  flex: 1;
  border-bottom: 1px solid gray;
  margin: 2px;
  padding: 10px;
  background-color: #fff;
  box-shadow: 1px 0 1px rgba(0, 0, 0, 0.1);
}
.column:first-child {
  margin-left: 0;
}
.column:last-child {
  margin-right: 0;
}
.column a {
	border-bottom: 1px solid #ccc;
}
.column a:hover {
	border-bottom: 1px dotted #ccc;
}


@media screen and (max-width: 980px) {
  .columns .column {
    margin-bottom: 5px;
    flex-basis: 40%;
  }
  .columns .column:nth-last-child(2) {
    margin-right: 0;
  }
  .columns .column:last-child {
    flex-basis: 100%;
    margin: 0;
  }
}

@media screen and (max-width: 680px) {
  .columns .column {
    flex-basis: 100%;
    margin: 0 0 5px 0;
  }
}

  div.board_container {
    display: flex;
    flex-direction: row; /* This is the default value, but just to make it clear */
    justify-content: space-between; /* Adjust as needed */
    align-items: center; /* Adjust as needed */
    border-bottom: 1px solid #ccc;
  }
  
  div.board_container:hover {
  	background-color: #f6f6f6;
  }
  div.board_container p {
    margin: 15px; /* Remove default margins to avoid extra spacing */

  }
  
  div.board_index {
    display: flex;
    flex-direction: row; /* This is the default value, but just to make it clear */
    justify-content: space-between; /* Adjust as needed */
    align-items: center; /* Adjust as needed */
	border-top: 2px solid #3f51b5;
	border-bottom: 1px solid #ccc;

	
	background-color: #eee;
  }
  
  #page_menu{
    width:100%;
  	text-align: center;
  	margin-top:25px;
  	padding-bottom:25px;
  	margin-bottom:0px;

  }
  
  #page_menu b{
	color:#ff0000;
	text-decoration: underline;
  }
  
@media screen and (max-width: 680px) {
  div.board_container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #fff;
    border-top: 2px solid #ccc;
    border-bottom: none;
    margin-bottom:2px;
  }
	
  div.board_container p {
    margin: 8px;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  div.board_index {
    display: none;
  }
}



div.search_bar {
  text-align: center;
  margin-top: 20px; /* 위쪽 여백 */
  margin-bottom: 20px;
  background-color: #f3f3f3;
}

div.search_bar form {
  display: inline-block; /* 폼을 인라인 블록으로 배치 */
}

div.search_bar input[type="text"] {
  padding: 8px; /* 입력 필드 안쪽 여백 */
  margin-right: 5px; /* 우측 여백 */
  width: 220px; /* 입력 필드 너비 */
  vertical-align: middle; /* 수직 정렬 추가 */
}


div.search_bar button {
  vertical-align: middle;
  background-color: #333;
  border-radius: 0px;
}

div.search_bar button:hover {
  background-color: black;
}

button:hover, .detail_menu a.button:hover {
  background-color: #45a049; /* 호버 시 배경색 변경 */
}


button, .detail_menu a.button {
  padding: 8px 15px; /* 버튼 안쪽 여백 */
  background-color: #4CAF50; /* 배경색 */
  color: white; /* 글자색 */
  border: none; /* 테두리 없음 */
  cursor: pointer; /* 커서 스타일 변경 */
  border-radius: 4px;
}

a.button, .file-btn, .board_detail table td button {
	padding: 2px;
	color: #444;
	background-color:#fff;
}
a.button:hover, .file-btn:hover, .board_detail table td button:hover {
	background-color:#eee;
}

.content_area {
	margin : 12px 0px;
	padding: 52px 4px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ddd;
}

.detail_menu {
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #ddd;
}

.comment_container table {
	width:100%;
	
	font-size:90%;
}
.comment_container table td {
	border-bottom : 1px solid #ddd;
}
.comment_container span.created_at {
	color:#aaa;
	font-size:0.8rem;
}
.comment_container table caption {
	padding: 6px;
	text-align: left;
	border-bottom: solid 2px #3f51b5;
	margin-bottom: 8px;
}
.comment_container table caption span {
	color:#ff0000;
}

.comment_input_area {
	border-bottom: 2px solid #3f51b5;
	padding : 12px 28px;
	background-color: #f8f8f8;
	margin-bottom: 32px;
}

.board_detail {
	overflow: auto;
}

.board_detail table {
	width: 100%;
	border-top: 2px solid #3f51b5;
	margin-top:40px;
	border-spacing: 0px;
	font-size: 80%;
	white-space: nowrap;
}

.board_detail table input[type="text"] {
	width: 90%;
	padding: 8px;
}

.management_table table input[type="text"] {
	width: auto;
}

.board_detail table th {
	font-weight:bold;
	min-width:80px;
}
.board_detail table th, .board_detail table td{
	border-bottom: 1px solid #ddd;
	margin:0px;
	padding: 10px;
}

.board_detail table ul {
	list-style:none;
	padding:0px;
	margin:0px;
}
.board_detail table ul li {
	padding:4px;
}

.comment_input_container textarea {
	width:100%;
}

textarea {
	width:100%;
	resize: vertical;
	border: 1px solid #ddd;
	padding: 24px;
}

@media screen and (min-width: 680px) {
	.responsive_span {
	display: none;
	}
}

  /* 알림창 스타일 */
  .alert {
    position: fixed;
    top: 120px;
    right: 20px;
    width: 80%;
    padding: 10px;
    border: 1px solid #5cb85c;
    border-radius: 4px;
    color: #5cb85c;
    background-color: #dff0d8;
  }


.close {
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-left:12px;
    background-color: #dff0d8;
    color:#5cb85c;
  }
  
.close:hover {
    background-color: #dff0d8;
    color:#5cb85c;
  }
  
  @media screen and (min-width: 980px) {
	.alert {
		width:35%;
	}
}

footer {
	background-image: url("/resources/images/pexels-johannes-plenio-1103970.jpg");
	background-size: cover;
	padding : 12px;

	  text-shadow: -1px -1px 0 #eee,  
                1px -1px 0 #eee,  
               -1px 1px 0 #eee,  
                1px 1px 0 #eee;
}

footer b {
	font-size : 120%;
}

#footer {
    color: #fff;
    background-color: #333;
    font-size: 0.7rem;
    padding: 8px;
    margin-top: 60px;
}

h1 img {
	margin-bottom: -57px;
	width:128px;
	height: 128px;
}

#sjit_title {
	padding-left: 134px;
}

#map {
	margin-bottom:20px;
}

.kakao_map_link{
	background-color: #fee500;
	padding:8px;
	border-radius: 4px;
}

input[type="date"]::before {
  content: attr(placeholder);
  position: absolute;
  color: #999999;
}

input[type="date"] {
  color: #ffffff;
}

input[type="date"]:focus,
input[type="date"]:valid {
  color: #666666;
}

input[type="date"]:focus::before,
input[type="date"]:valid::before {
  content: "";
}
.manager_index a {
	padding:12px;
	border:2px solid #444;
	border-radius: 4px;
	font-weight: bold;
}
.manager_index {
	margin-top: 24px;
}
