@charset "UTF-8";

/*여기서만 주는것*/
/* .subNavFixed {
	z-index: 900;
} */
.datepicker.dropdown-menu {
   max-width: 300px;
}

.ver2-promotion-area .top {
	margin: 30px 0;
	
	display: flex;
	justify-content: space-between;
}
.ver2-promotion-area .top .right {
	display: flex;
    flex-direction: row;
    
    gap: 6px;
}

.event-time{
	font-size: 14px;
	color: gray;
}
.event-content{
	margin-top: 10px;
	white-space: pre-wrap;    /* 엔터, 줄바꿈 태그 무시안함 */
}

.event-content img {
	max-width: 100%;
}

.scrolla{
	height: 480px;
	overflow-y: auto;
}
.fc-event{
	cursor: pointer;
}
.box-body{
	width: 100%;
} 

.box-body:after{
	clear:both
}

.box-body:before, .box-body:after{
	content:'';
	display:table
}

/* .content-aside{
	float: right;
    border: unset;
    border-radius: 18px;
    background: #fff;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
    height: 610px;
    width : 35%;
} */
.content-bottom{
	margin: 10px;
	padding: 20px;
    border: unset;
    border-radius: 18px;
    background: #fff;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
}
.bottom-title{
	margin : 10px;
}

.aside-box{
	margin: 20px;
}
.aside-content{
	margin: 10px;
}

/* 컨텐츠 하단 전체 행사 일정 전체 섹션 */
.event-section {
  padding: 24px 0;
}

.event-section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}
/* 각 한 줄(카드) */
.event-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f8fa;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid #e1e4ea;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.event-item:hover {
  background: #f0f2f7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* 왼쪽 텍스트 덩어리 */
.event-info {
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.event-meta {
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-separator {
  color: #c0c4d0;
}

/* 오른쪽 버튼 영역 */
.event-actions {
  flex-shrink: 0;        /* 왼쪽 내용이 길어도 버튼 크기 안 줄어들게 */
}

/* 상세 버튼 스타일 */
.btn-detail {
  padding: 6px 16px;
  border-radius: 6px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.btn-detail:hover {
  background: #1d4ed8;
}
.search-input{
	border: 1px solid black;
	background-color: gray;
}
.today-event-img{
	max-height: 100%;
	max-width: 100%;
	width: 100%;
	height: 60%;
}
.Today-event-container{
	width: 100%;
}
.event-listToday{
	display: flex;
	width: 100%;
	justify-content: space-between;
	flex-wrap:wrap;
}
.event-TodayInfo{
	width: 100%;
	height: 400px;
	background-color: #fff;
	box-shadow: 0 5px 15px rgba(0,0,0,0.3);
	border-radius: 10px; /* 모서리 둥글게 */
}
.today-event-item{
	width: 48%;
	margin : 20px 0px 20px 0px;
}
.today-event-img{
	border-radius: 10px; /* 모서리 둥글게 */
}
.today-event-meta{
	margin : 12px;
	display: flex;
    flex-direction: column;   /* 세로 정렬 */
    gap: 6px;                 /* 각 항목 사이 간격 */
}
.today-event-title{
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.today-event-date,
.today-event-time,
.today-event-dept,
.today-event-mng,
.today-event-tel{
	
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
	
}
/* 오늘의 일정 숨기기 */
.item-hidden{
	display: none;
}
 .ver2-promotion-area .more-btn{
  display: block;
  margin: 40px auto 0;
  padding: 8px 24px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 13px;
  color: #4b5563;
  cursor: pointer;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
  width: 200px;
}

.search-btn{
	padding: 6px 16px;
    border-radius: 6px;
    border: none;
    background: #05317c;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
/*modal*/
/* -- CSS 변수 (Variables) - 완벽한 작동을 위해 필요할 수 있습니다. -- */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal-dialog {
position: relative;
width: auto;
margin: 0.5rem;
pointer-events: none;
}
.modal.fade .modal-dialog {
transition: transform 0.3s ease-out;
transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
.modal.fade .modal-dialog {
    transition: none;
}
}
.modal.show .modal-dialog {
transform: none;
}
.modal.modal-static .modal-dialog {
transform: scale(1.02);
}

.modal-dialog-scrollable {
height: calc(100% - 1rem);
}
.modal-dialog-scrollable .modal-content {
max-height: 100%;
overflow: hidden;
}
.modal-dialog-scrollable .modal-body {
overflow-y: auto;
}

.modal-dialog-centered {
display: flex;
align-items: center;
min-height: calc(100% - 1rem);
}

.modal-content {
position: relative;
display: flex;
flex-direction: column;
width: 100%;
pointer-events: auto;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 0.3rem;
outline: 0;
}

.modal-backdrop {
position: fixed;
top: 0;
left: 0;
z-index: 1040;
width: 100vw;
height: 100vh;
background-color: #000;
}
.modal-backdrop.fade {
opacity: 0;
}
.modal-backdrop.show {
/* opacity: 0.5; */
    opacity: 0.6;
}

.modal-header {
display: flex;
flex-shrink: 0;
align-items: center;
justify-content: space-between;
padding: 1rem 1rem;
border-bottom: 1px solid #dee2e6;
border-top-left-radius: calc(0.3rem - 1px);
border-top-right-radius: calc(0.3rem - 1px);
}
.modal-header .btn-close {
padding: 0.5rem 0.5rem;
margin: -0.5rem -0.5rem -0.5rem auto;
}

.modal-title {
margin-bottom: 0;
line-height: 1.5;
}

.modal-body {
position: relative;
flex: 1 1 auto;
padding: 1rem;
}

.modal-footer {
display: flex;
flex-wrap: wrap;
flex-shrink: 0;
align-items: center;
justify-content: flex-end;
padding: 0.75rem;
border-top: 1px solid #dee2e6;
border-bottom-right-radius: calc(0.3rem - 1px);
border-bottom-left-radius: calc(0.3rem - 1px);
}
.modal-footer > * {
margin: 0.25rem;
}

@media (min-width: 576px) {
.modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
}

.modal-dialog-scrollable {
    height: calc(100% - 3.5rem);
}

.modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
}

.modal-sm {
    max-width: 300px;
}
}
@media (min-width: 992px) {
.modal-lg,
.modal-xl {
    max-width: 800px;
}
}
@media (min-width: 1200px) {
.modal-xl {
    max-width: 1140px;
}
}
.modal-fullscreen {
width: 100vw;
max-width: none;
height: 100%;
margin: 0;
}
.modal-fullscreen .modal-content {
height: 100%;
border: 0;
border-radius: 0;
}
.modal-fullscreen .modal-header {
border-radius: 0;
}
.modal-fullscreen .modal-body {
overflow-y: auto;
}
.modal-fullscreen .modal-footer {
border-radius: 0;
}

@media (max-width: 575.98px) {
.modal-fullscreen-sm-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}
.modal-fullscreen-sm-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}
.modal-fullscreen-sm-down .modal-header {
    border-radius: 0;
}
.modal-fullscreen-sm-down .modal-body {
    overflow-y: auto;
}
.modal-fullscreen-sm-down .modal-footer {
    border-radius: 0;
}
}
@media (max-width: 767.98px) {
.modal-fullscreen-md-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}
.modal-fullscreen-md-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}
.modal-fullscreen-md-down .modal-header {
    border-radius: 0;
}
.modal-fullscreen-md-down .modal-body {
    overflow-y: auto;
}
.modal-fullscreen-md-down .modal-footer {
    border-radius: 0;
}
}
@media (max-width: 991.98px) {
.modal-fullscreen-lg-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}
.modal-fullscreen-lg-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}
.modal-fullscreen-lg-down .modal-header {
    border-radius: 0;
}
.modal-fullscreen-lg-down .modal-body {
    overflow-y: auto;
}
.modal-fullscreen-lg-down .modal-footer {
    border-radius: 0;
}
}
@media (max-width: 1199.98px) {
.modal-fullscreen-xl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}
.modal-fullscreen-xl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}
.modal-fullscreen-xl-down .modal-header {
    border-radius: 0;
}
.modal-fullscreen-xl-down .modal-body {
    overflow-y: auto;
}
.modal-fullscreen-xl-down .modal-footer {
    border-radius: 0;
}
}
@media (max-width: 1399.98px) {
.modal-fullscreen-xxl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}
.modal-fullscreen-xxl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}
.modal-fullscreen-xxl-down .modal-header {
    border-radius: 0;
}
.modal-fullscreen-xxl-down .modal-body {
    overflow-y: auto;
}
.modal-fullscreen-xxl-down .modal-footer {
    border-radius: 0;
}
}



	/* 닫기 버튼 */
	.close {
	  background-color: transparent;
	  position: absolute;
	  top: 10px;
	  right: 15px;
	  color: #aaa;
	  font-size: 24px;
	  font-weight: bold;
	  cursor: pointer;
	  transition: color 0.2s;
	}
	
	.close:hover {
	  color: #000;
	}


	/*2025.12.15 추가*/
	.row {
	    --bs-gutter-x: 1.5rem;
	    --bs-gutter-y: 0;
	    display: flex;
	    flex-wrap: wrap;
	    margin-top: calc(var(--bs-gutter-y) * -1);
	    margin-right: calc(var(--bs-gutter-x) * -.5);
	    margin-left: calc(var(--bs-gutter-x) * -.5);
	}
	.row > * {
		flex-shrink: 0;
		width: 100%;
		max-width: 100%;
		padding-right: calc(var(--bs-gutter-x) * .5);
		padding-left: calc(var(--bs-gutter-x) * .5);
		margin-top: var(--bs-gutter-y);
	}
	
	.ver2-promotion-area .ver2-calendar {
        border-radius: 20px;
        background: #fff;
        box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
        padding: 10px;

        width: 65%;
        position: relative;
     }
     .ver2-promotion-area .content-aside {
         width: 35%;

         padding-top: 10px;
         padding-bottom: 10px;
     }
     
     .ver2-promotion-area .content-aside .tit {
     
     }

     .ver2-promotion-area .content-aside .event-list {
         display: flex;
         flex-direction: column;
    	 flex-wrap: nowrap;
         gap: 10px;
         
         height: 660px;
         overflow-y: auto;
         padding-top: 10px;
     }


     .ver2-promotion-area .event-item {
         border: 1px solid transparent;
         transition: 0.3s;
         font-size: 15px;
         background-color: rgb(248, 249, 250);
         border-radius: 6px;

         padding: 1.5rem;
         display: flex;
         justify-content: space-between;
         align-items: center;
         
         width: 100%;
         max-height: 97px;
     }


     .ver2-promotion-area .event-title {
         font-size: 15px;
         font-weight: 600;
         margin-bottom: 4px;
     }
     .ver2-promotion-area .event-date {
         font-size: 13px;
         color: #6b7280;
         display: flex;
         align-items: center;
         gap: 4px;
     }
     .ver2-promotion-area .event-mng {
		 font-size: 13px;
         color: #6b7280;
         display: flex;
         align-items: center;
         gap: 4px;
     }

     .ver2-promotion-area .btn-detail {
         padding: 6px 16px;
         border-radius: 6px;
         border: none;
         background: #2563eb;
         color: #ffffff;
         font-size: 13px;
         font-weight: 500;
         cursor: pointer;
     }


     .ver2-promotion-area .bottom {
         display: flex;
         justify-content: space-between;
         align-items: center;

         margin-top: 60px;
         margin-bottom: 40px;
     }

     .ver2-promotion-area .bottom .tit {
         font-family: "Paperlogy";
         font-weight: bold;
         font-size: 26px;
         color: #111111;
     }
     .ver2-promotion-area .bottom .tit span {
         color: #164692;
     }
     .ver2-promotion-area .bottom .txt {
         font-family: "Paperlogy";
         font-weight: normal;
         font-size: 18px;
         color: #34332f;
     }

     .ver2-promotion-area .bottom .right {
         display: flex;
         flex-direction: column;
         align-items: flex-end;
     }
     .ver2-promotion-area .bottom .border {
         width: 100%;
         height: 4px;
         background: #111;
     }
     .ver2-promotion-area .bottom .right {
         width: calc(100% - 300px);
     }
     
     .ver2-promotion-area .event-list {
         display: flex;
         flex-wrap: wrap;
         column-gap: 20px;
         row-gap: 40px;
     }

     .ver2-promotion-area .event-list .item {
         display: block;
         width: calc(33.8888% - 20px);
         position: relative;
     }
     
     .ver2-promotion-area .event-list .item .label {
	    padding: 9px 23px;
	    border-radius: 20px;
	    background: #164692;
	    font-weight: bold;
	    font-size: 15px;
	    color: #fff;
	    position: absolute;
	    top: -18px;
	    right: 23px;
	    z-index: 1;
	}

     .ver2-promotion-area .event-list .item .img-box {
         border-radius: 10px;
         min-height: 200px;
         overflow: hidden;
     }
     .ver2-promotion-area .event-list .item .img-box img {
         width: 100%;
         height: 100%;
         object-fit: cover;
         transition: ease all 0.5s;
     }
     .ver2-promotion-area .event-list .item .img-box:hover img {
         scale: 1.1;
     }


     /*호버효과*/
     .hover-effect {
         transition: all .3s;
     }

     .hover-effect:hover {
         transform: translateY(-4%);
         box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .1);
     }

     .hover-effect2 {
         border: 1px solid transparent;
         transition: all .3s;
     }

     .hover-effect2:hover {
         border: 1px solid #164692;
         transform: translateY(-4%);
         box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .1);
     }

     .contents:hover .highlight:after {
         width: 100%;
     }

     .highlight {
         display: inline-block;
         position: relative;
         color: #009c5b;
         font-weight: bold;
     }

     .highlight:after {
         content: "";
         width: 0;
         height: 10px;
         display: inline-block;
         background: #D9FCDB;

         position: absolute;
         bottom: 0;
         left: 0;

         transition: 0.2s all;
         z-index: -1;
     }

     
     .ver2-promotion-area input {
   	    background: #f5f5f5;
	    border-color: #c0c0c0;
	    color: #666;
     }


	.ver2-promotion-area .fc-button {
		background-image: unset;
		padding: 2px 10px;
		height: unset;
		text-shadow: unset;
		box-shadow: unset;
		border: 1px solid #e8e8e8;
	}
	.ver2-promotion-area .fc-state-down,
	.ver2-promotion-area .fc-state-active {
	    background-color: #888;
	    color: #fff;
	    background-image: none;
	    outline: 0;
	    box-shadow: unset;
	}
	.ver2-promotion-area #more-btn1 {
		display: none;
	}
	
	.ver2-promotion-area .no-data {
        border: 1px solid transparent;
	    transition: 0.3s;
	    font-size: 15px;
	    background-color: rgb(248, 249, 250);
	    border-radius: 6px;
	    padding: 1.5rem;
	    display: flex;
        justify-content: center;
    	align-items: center;
	    width: 100%;
	    height: 88px;
	}



.promotion-modal .modal-body {
	display: flex;
	gap: 30px;
}
.promotion-modal .info {
	width: 100%;
}
.promotion-modal .img-box {
	background: #f8f8f8;
    border: 1px solid #f8f8f8;
    border-radius: 8px;
    height: 400px;

}
.promotion-modal .img-box img {
	height: 100%;
    width: auto;
	aspect-ratio: 3 / 4; /* 3 : 4 비율 강제 */
	border-radius: 8px;
    object-fit: contain;
}

.promotion-modal .txt {
	height: 260px;
	overflow-y: auto; 
	margin-top: 20px;
	background: #e8e8e8;
	padding: 14px;
	border-radius: 8px; 
	
	color: #555;
}
.promotion-modal .subject {
	font-size: 15px;
	color: #05317c;
	margin-top: 10px;
}

@media (max-width: 1200px) {
	.row {
		flex-direction: column;
	}
	.ver2-promotion-area .ver2-calendar {
		width: 100%;
        margin-bottom: 24px;
	}
	.ver2-promotion-area .content-aside {
		width: 100%;

	}
	.ver2-promotion-area .content-aside .event-list {
	    flex-direction: row;
	    flex-wrap: wrap;
	    
   	    height: unset;
    	overflow-y: unset;
	}
	.ver2-promotion-area .event-item {
		width: 32.3%;
	}
	.ver2-promotion-area #more-btn1 {
		display: block;
	}
}

@media (max-width: 991px) {
	.ver2-promotion-area .top {
	   	gap: 10px;
        flex-direction: column;
	}
	
	.promotion-modal .modal-body {
	    flex-direction: column;
	}
	.promotion-modal .txt {
	    height: 210px;
	}
} 

@media (max-width: 767px) {
	.ver2-promotion-area .event-item {
		width: calc(50% - 10px);
	}
	.ver2-promotion-area .event-list .item {
		width: calc(50% - 10px);
	}
	.ver2-promotion-area .fc-header-title {
		position: absolute;
        left: 40px;
        top: -4px;
	}
}

@media (max-width: 575px) {
	.ver2-promotion-area .top {
		margin-bottom: 50px;
	}
	.ver2-promotion-area .top .left {
		display: flex;
		gap: 6px;
	}
	.ver2-promotion-area .top .left input {
		width: 100%;
	}
	.ver2-promotion-area .top .right {
	    flex-direction: column;
	    gap: 6px;
	}
	.search-btn {
    	padding: 10px 16px;
    }
    
    .ver2-promotion-area .event-item {
		width: 100%;
	}
	.ver2-promotion-area .event-list .item {
		width: 100%;
	}
	
	.ver2-promotion-area .ver2-calendar {
		 box-shadow: unset; 
	}
	.ver2-calendar #calendar {
		margin: unset !important;
	}
	
	.ver2-promotion-area .fc-header-title {
        left: 10px;
        top: -26px;
	}

}
/* 
역할 : 풀캘린더 js에선 일정이 길면(다음주 다다음주로 넘어가는) 그 일정의 높이를 계산할때
각 주의 바 하나하나가아니라 줄바꿈을해가며 그 일정의 높이를 조정을하는데
줄바꿈을 허용하지않고 한줄에만 집중해서 계산하게함.
 */
.fc-event-hori{
  white-space: nowrap !important;
}
.fc-event-inner{
  overflow: hidden;           /* 줄 넘어가는 내용 숨기기 */
  text-overflow: ellipsis;    /* 크기에 맞게 넘어가면 자연스럽게...표시 */
}
/* 토스트 메세지 css */
.toast {
  z-index: 9999;
  position: fixed;
  bottom: 500px;
  left: 50%;
  transform: translate(-50%, 10px);
  background: rgba(50, 50, 50, 0.9);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* 보여질 때 */
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* 공유버튼 임시 css */
.share {
  display: inline-flex;
  align-items: center;

  padding: 10px;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  border: none;
  cursor: pointer;

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
    
  background: transparent;
}

/* hover */
.share:hover {
  background-color: #f8f8f8;
  box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
}

/* active (눌렀을 때) */
.share:active {
  transform: #f8f8f8;
  box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
}

/* disabled */
.share:disabled {
  background-color: #ccc;
  cursor: default;
  box-shadow: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px; /* 닫기 ↔ 공유 간격 */
}


.ver2-quick-modal .event-title {
    font-size: 20px;
    margin-bottom: 16px;
}

.ver2-quick-modal .event-time {
	margin-bottom: 16px;
}

.ver2-quick-modal .event-date,
.ver2-quick-modal .event-dept,
.ver2-quick-modal .event-mng {
	margin-bottom: 6px;
}


#event-file {
	margin-top: 20px;
    width: fit-content;
    background: #e8e8e8;
    padding: 12px;
    border-radius: 8px;
}

#event-file button {
    background: transparent;
    color: #555;
}

#event-file ul {
	margin-top: 10px;
	padding-left: 10px;
}

#event-file ul li:not(:last-child) {
	margin-bottom: 6px;
}

#event-file ul li span {
	display: inline-block;
	margin-right: 6px;
}

#event-file ul li a {
	display: inline-block;
	color: #164692;
}

