/* ============================
     side-box 側欄選單
   ============================*/
.side-box {
    padding: 2rem 1rem 2rem 3.5rem;
    width: 25%;
    position: sticky;
    top: 4rem;
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
}


.side-btn {
    position: relative;
    display: block;
    color: #001432;
    font-weight: 600;
    padding: 6px 5px;
    border-bottom: 1px solid #dfdfdf;
}

.side-btn::after {
    font-family: "bootstrap-icons";
    content: "\F282";
    float: right;
}

.collapse-content {
    font-size: 14px;
    color: #001432;
}

.ctag {
    margin: 3px 0;
}

.ctag label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.ctag:hover label {
    background-color: #efefef;
}

.ctag input[type=checkbox] {
    position: relative;
    margin: 5px;
}

.ctag input[type=checkbox]:before {
    content: " ";
    background: white;
    border: 1px solid #001432;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 0.9rem;
    height: 0.9rem;
    transition: background 0.2s ease-in-out;
}

.ctag input[type=checkbox]:checked:before {
    background: #001432;
}

.ctag input[type=checkbox]:checked:after {
    content: " ";
    background: transparent;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    position: absolute;
    top: 25%;
    left: 22%;
    width: 70%;
    height: 35%;
    z-index: 2;
    transform: rotate(-45deg);
}


/* ============================
    right-area
   ============================*/

.right-area {
    width: 70%;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (max-width: 992px) {
    .right-area {
        width: 90%;
    }
}

.right-area .input-group>.form-control {
    border-radius: 10px;
}

.right-area .input-group>.input-group-append>.btn-primary {
    border-radius: 0 10px 10px 0;
    background-color: #0072c5;
}

.right-area .input-group>.input-group-append>.btn-primary:hover {
    color: #02f0ff;
}

.tag-badge {
    display: inline-block;
    color: #001432;
    font-size: 14px;
    font-weight: 500;
    border-radius: 15px;
    background-color: #eeeeee;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    padding: 0 15px;
    margin-right: 3px;
}

.clear {
    border: 1px solid #999999;
    color: #999999;
    background-color: #ffffff;
}

.tag-badge:hover {
    background-color: #dfdfdf;
}

.clear:hover {
    color: #001432;
}

.tag-badge i {
    color: #999999;
    padding-left: 6px;
}

.tag-badge:hover i {
    color: #0072c5;
}


/* ============================
   agenda
   ============================*/

.tabAgenda {
    padding: 5px 20px;
    margin-right: 20px;   
    border: 1px solid #999999;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px;
    border-radius: 10px;
}

.tabAgenda a {
    color:  var(--dark-colorC) ;
}

.tabAgenda:hover {
    transform: translateY(3px);
    cursor: pointer;
}

.tabA-active {
    font-weight: 700;
    background-color:#E1F0FA;
}


.tabA-active .tabAgenda-tag {
    font-weight: 400;
}

.tabAgenda-tag {
    background-color: var(--sub-colorC);
    font-size: 14px;
    border-radius: 20px;
    color: #ffffff;
    padding: 0 12px;
    margin-left: 8px;   
}