/* */

.ctt_pre_title {
    color: #000;
    text-align: center;    
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: 80px; /* 166.667% */ 
    padding-bottom:4rem;    
}

.ctt_pre_title > span {
    border-bottom:2px solid black; 
}


#ctt .sec-inner {
    max-width: 1200px;
    margin: 0 auto;
}

#ctt .line-bottom {
    border-bottom: 1px solid #ccc !important;
}

#ctt .sec-inner ._box {
    /* text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.70); */
}

/* 서브 비주얼 */

.sub-visual {
    position: relative;
    overflow: hidden;
    height: 470px;
}

.sub-visual .bg {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 1;
    transform: scale(1.3);
}

.sub-visual.active .bg {
    opacity: 1;
    transform: scale(1) rotate(0.01deg);
    transition: transform 5s ease .3s, opacity 2s ease 1s;
}

.sub-visual._greeting .bg {
    background-image: url(../img/page/visual_1.jpg);
}

.sub-visual._human .bg {
    background-image: url(../img/page/visual_2.jpg);
}

.sub-visual._inquiries .bg {
    background-image: url(../img/page/visual_3.jpg);
}

.nav-online {
    display: none !important;
}

.sub-visual._busi .bg {
    background-image: url(../img/page/visual_4.jpg);
}

.sub-visual._comm .bg {
    background-image: url(../img/page/visual_5.jpg);
}

.inner {
    width: 1240px;
    margin: 0 auto;
}

.sub-visual .txt {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.sub-visual.active .txt {
    -webkit-mask-image: linear-gradient(-70deg, rgba(0, 0, 0, 0) 47.5%, rgba(0, 0, 0, 1) 52.5%);
    -webkit-mask-size: 250% 100%;
    animation: reveal 7s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

.sub-visual h2 {
    font-size: 54px !important;
    font-weight: 600;
    text-shadow: 1px 4px 10px rgba(0, 0, 0, 0.70), 1px 4px 10px rgba(0, 0, 0, 0.4), 0 5px 10px #000;
}

/* category */

.nav-pills.d-flex.line-bottom {
    border-bottom: 1px solid #eee !important;
}

.nav-greeting {
    column-gap : 3rem;
}
.nav-human {
    column-gap: 3rem;
}
.nav-inquiries {
    column-gap: 3rem;
}
.nav-comm {
    column-gap: 3rem;
}

/* 사훈 및 실천계획 */

.ctt_plan ._box {
    border: 1px solid #ccc;
    padding: 40px;
    border-radius: 20px;
}

.ctt_plan .section._2 {
    width : 100%;
    height: 350px;
    background-image: url(../img/page/plan_2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.ctt_plan .section._4 .g-col-lg-3 {
    padding: 30px 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 10px 15px 0px rgba(0, 13, 56, 0.1);
}

.ctt_plan .section._4 .g-col-lg-3 p {
    font-size: 14px;
}

/* 개인서비스 */

.ctt_human ._box {
    padding: 120px 0;
    background-image: url(../img/page/human_1.png);
    background-size:cover;
    
}

.ctt_production ._box {
    padding: 120px 0;
    background-image: url(../img/page/production_1.png);
    background-size:cover;
}

.ctt_logistics ._box {
    padding: 120px 0;
    background-image: url(../img/page/logistics_1.png);
    background-size:cover;
}

.ctt_expenses ._box {
    padding: 120px 0;
    background-image: url(../img/page/expenses_1.png);
    background-size:cover;
}

.ctt_tele ._box {
    padding: 120px 0;
    background-image: url(../img/page/tele_1.png);
    background-size:cover;
}

.ctt_part ._box {
    padding: 120px 0;
    background-image: url(../img/page/part_1.png);
    background-size:cover;
}

.human-wrap .g-col-lg-3 p {
    font-size: 14px;
}

.human-wrap .img-box {
    display: flex;
    height: 85px;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

/* 오시는길 */

.ctt_way ._1 iframe {
    width: 100%;
    height: 500px;
}

/* */

.bo-write ._w98 {
    width: 98px !important;
}

.bo-write .list-group-item {
    padding: 8px 0;
}

@media (max-width: 1200px) {

    .bo-write ._w98 {
        width: 100% !important;
    }

}

/* */

._red {
    border: 1px solid #E65676;
    background-color: #E65676;
}

._red:hover {
    border: 1px solid #cc3d5c;
    background-color: #cc3d5c;
}

.calendar-container {
    overflow: hidden;
    max-width: 100%;
    margin: 20px auto;
    border: 1px solid #dee2e6;
    border-radius: 10px;
}

.calendar thead th {
    background-color: #2459a5;
    color: white;
    text-align: center;
    padding: 12px 0;
    font-weight: 500;
    font-size: 16px;
}

.calendar td {
    width: 14.28%;
    height: 80px;
    text-align: left;
    vertical-align: top;
    padding: 8px 10px;
    border: 1px solid #e9ecef;
    font-size: 15px;
    background-color: white;
}

.calendar._list tbody td:first-child {
    background-color: #e9ecef;
}

.calendar._list td {
    height: auto;
    text-align: center;
    padding: 8px 10px;
}

.calendar .sunday {
    color: red;
}

.calendar .saturday {
    color: #1b70d2;
}

.cal-year {
    border: 1px solid #ccc;
    padding: 20px 30px;
    border-radius: 20px;
}

.cal-year strong {
    border-bottom: 3px solid #124A90;
}

.cal-var {
    padding: 40px 0 10px;
}

@media screen and (max-width: 767px) {

    /*출근마일리지 - 나의마일리지 간격*/
    .cal-var {
    padding: 40px 0;
}
    
    /*출근마일리지 버튼*/
    .cal-var > div {
        flex-direction: column;        
    }

    .cal-var > div > .mt-2 {
        display:flex;
        flex-direction:row;
        gap:0.4rem;
    }    
}

/* category */

#bo_category .nav {
    display: flex;
    /* border: 1px solid #E5E7EB; */
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 14px;
    margin: 5px 0 0;
    padding: 4px 10px 8px;
    border-radius: 999px;
}

#bo_category .nav-item .nav-link {
    min-width: 120px;
    padding: 8px 10px !important;
    /* background-color: #F1F1F1; */
    border-radius: 999px;
    font-size: 14px;
    text-align: center;
}

#bo_category .nav-item .nav-link.active {
    background-color: #313131;
    font-weight: 500 !important;
    color: #fff;
}

/* */

@keyframes reveal {
    0% {
        -webkit-mask-position: 100%;
        opacity: 0;
    }

    100% {
        -webkit-mask-position: 0;
        opacity: 1;
    }
}