
@media screen {
    .print {
        display: none;
    }
}
@media print {
    .no-print {
        display: none;
    }
}

table td {
    font-size: 11px;
}

div {
    font-size: 11px;
}

/* index page - bulletin */

tr.border-bottom > td, tr.border-bottom > th {
    border-bottom: 1px solid #e9edf4 !important;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 4px 5px;
}

table.dataTable thead td {
    font-weight: 400;
    background-color: #f3f7fd;
}

table.dataTable tbody td {
    padding: 4px 5px;
}

.icon-sticky {
    display: inline-block;
    width:16px;
    height: 16px;
    background: url('../../img/icon-sticky.png') no-repeat ;
}

.icon_comments {
    background: url(../../img/iconSet.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    float: right;
    font-size: 0.85em;
    text-align: center;
    color: #fff;
}

/* comments */
.table-sm th, .table-sm td {
    padding: 0.3rem;
}

.calendar-item {
    position: relative;
}


#contextMenu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 1000; /* Ensure the menu is above other elements */
}
#contextMenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#contextMenu ul li {
    padding: 5px 10px;
    cursor: pointer;
}
#contextMenu ul li:hover {
    background-color: #eee;
}

/* Start of Q&A Hover section */
.hover_area {
    display: none;
    position: absolute;
    top: -115px;
    left: 50%;
    transform: translateX(-50%);
    background: #fcfcfc;
    color: #333333;
    font-weight: normal;
    max-width: 200px;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    text-align: left; /* 텍스트를 왼쪽 정렬 */
}
.hover_area span {
    display: inline; /* Ensure it is inline if it should be */
    visibility: visible; /* Ensure it is visible */
}

.calendar-item:hover .hover_area {
    display: block;
}
.no-comment {
    color: #ff0000;
}
.toggle_area_question a, .toggle_area_answer a {
    margin-right: 5px;
}
.separator {
    border-bottom: 2px solid #c5e1ff; /* Adjust color and thickness */
    margin: 10px 0; /* Adjust spacing */
}
.edit_link {
    font-size: 10px;
    white-space: nowrap;
    position: relative; /* Set position relative to adjust child elements */
    cursor: pointer;
    z-index: 1000;
    text-decoration: none;
    display: inline-block; /* Ensure the link respects its content width */
    float: right;
}
.edit_link i {
    position: relative; /* Position the icon relative to the parent */
    display: inline-block; /* Ensure the icon is inline with text */
    color: #6ba5fa;
}

.edit_link:hover i {
    color: #0056b3;
}
/* End of Q&A Hover section */


.clearfix {
    display: flex;
    overflow: auto;
    padding: 10px;
}
.status-label {
    display: flex;
    align-items: center;
    margin: 5px;
}
.status-box {
    width: 15px;
    height: 15px;
    margin-right: 5px;
}
.bookable {
    background-color: #7bd148; /* Green - Confirmed */
}
.confirmed {
    background-color: #5484ed; /* Blue - Paid */
}
.pending {
    background-color: #fbd75b; /* Yellow */
}
.new {
    background-color: #dc2127; /* Red */
}