/* 첫 번째 열 '이름'에 최소 너비 설정 */
#monsterTable th:nth-child(1) {
    min-width: 150px;
}

/* 두 번째,세 번째 열 '처치 시간'에 최소 너비 설정 */
#monsterTable th:nth-child(2),
#monsterTable th:nth-child(3) {
    min-width: 120px;
}

/* 네 번째 열 '리스폰 주기 (분)'에 최소 너비 설정 */
#monsterTable th:nth-child(4) {
    min-width: 104px;
}

/* 다섯 번째 열 '알림 시간 (초)'에 최소 너비 설정 */
#monsterTable th:nth-child(5) {
    min-width: 88px;
}

/* 여섯 번째 열 '처치 기록'에 최소 너비 설정 */
#monsterTable th:nth-child(6) {
    min-width: fit-content;
}

/* 일곱 번째 열 '삭제'에 최소 너비 설정 */
#monsterTable th:nth-child(7) {
    min-width: fit-content;
}

.btn-sm {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    padding: 5px 10px;
    font-size: 12px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* 시계 스타일 */


.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* Flip Clock Skeleton */


.flip-clock a {
    cursor: pointer;
    text-decoration: none;
    color: #ccc;
}


.flip-clock ul {
    list-style: none
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}


/* Main */

.flip-clock container ul {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 140px;
    height: 90px;
    margin: -45px 0 0 -70px;
}


/* Skeleton */

ul.flip {
    position: relative;
    float: left;
    margin: 5px;
    width: 60px;
    height: 90px;
    font-size: 80px;
    font-weight: bold;
    line-height: 87px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .7);
}

ul.flip li {
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

}

ul.flip li:first-child {
    z-index: 2;
}

ul.flip li a {
    display: block;
    height: 100%;
    perspective: 200px;
}

ul.flip li a div {
    z-index: 1;
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
}

ul.flip li a div .shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

ul.flip li a div.up {
    transform-origin: 50% 100%;
    top: 0;
}

ul.flip li a div.up:after {
    content: "";
    position: absolute;
    top: 44px;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 3px;
    background-color: rgba(0, 0, 0, .4);
}

ul.flip li a div.down {
    transform-origin: 50% 0%;
    bottom: 0;
}

ul.flip li a div div.inn {
    position: absolute;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 200%;
    color: #ccc;
    text-shadow: 0 1px 2px #000;
    text-align: center;
    background-color: #333;
    border-radius: 6px;
}

ul.flip li a div.up div.inn {
    top: 0;

}

ul.flip li a div.down div.inn {
    bottom: 0;
}

/* Play Animations */
ul.flip.play li.before {
    z-index: 3;
}

ul.flip.play li.active {
    animation: asd .5s .5s linear both;
    z-index: 2;
}

@keyframes asd {
    0% {
        z-index: 2;
    }

    5% {
        z-index: 4;
    }

    100% {
        z-index: 4;
    }
}

ul.flip.play li.active .down {
    z-index: 2;
    animation: turn .5s .5s linear both;
}

@keyframes turn {
    0% {
        transform: rotateX(90deg);
    }

    100% {
        transform: rotateX(0deg);
    }
}

ul.flip.play li.before .up {
    z-index: 2;
    animation: turn2 .5s linear both;
}

@keyframes turn2 {
    0% {
        transform: rotateX(0deg);
    }

    100% {
        transform: rotateX(-90deg);
    }
}

/* Shadow Effects */
ul.flip.play li.before .up .shadow {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, 1) 100%);
    animation: show .5s linear both;
}

ul.flip.play li.active .up .shadow {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, 1) 100%);
    animation: hide .5s .3s linear both;
}

ul.flip.play li.before .down .shadow {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .1) 100%);
    animation: show .5s linear both;
}

ul.flip.play li.active .down .shadow {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .1) 100%);
    animation: hide .5s .3s linear both;
}

@keyframes show {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes hide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Separator Style */
.separator {
    float: left;
    margin: 5px;
    font-size: 80px;
    line-height: 87px;
    color: #ccc;
    text-shadow: 0 1px 2px #000;
}

/* mana points */

/* 첫 번째 열 '체크박스'에 최소 너비 설정 */
#skillTable th:nth-child(1) {
    min-width: 30px;
}

/* 두 번째 '스킬이름'에 최소 너비 설정 */
#skillTable th:nth-child(2) {
    min-width: 150px;
}

/* 세 번째 열, 네 번째 열 '스킬 쿨타임(초), MP소모량'에 최소 너비 설정 */
#skillTable th:nth-child(3),
#skillTable th:nth-child(4),
#skillTable th:nth-child(5) {
    min-width: 95.5px;
}

/* 여섯 번째 열 '초당 MP 소모량'에 최소 너비 설정 */
#skillTable th:nth-child(6) {
    min-width: 90px;
}

/* 칠곱 번째 열 '삭제'에 최소 너비 설정 */
#skillTable th:nth-child(7) {
    min-width: fit-content;
}

.input-min-width {
    min-width: fit-content;
}

@media (max-width: 768px) {
    .col-mt-margin {
        margin-top: 0.7rem;
        /* Bootstrap의 mt-2가 0.5rem */
    }
}

@media (min-width: 769px) {
    .col-mt-margin {
        margin-top: 0;
        /* 화면 크기가 다시 커졌을 때 마진 제거 */
    }
}

/* 첫 번째 열 '체크박스'에 최소 너비 설정 */
#mpSkillTable th:nth-child(1) {
    min-width: 30px;
}

/* 두 번째 '스킬이름'에 최소 너비 설정 */
#mpSkillTable th:nth-child(2) {
    min-width: 170px;
}

/* 세 번째 열, 네 번째 열 '스킬 쿨타임(초), MP소모량'에 최소 너비 설정 */
#mpSkillTable th:nth-child(3),
#mpSkillTable th:nth-child(4),
#mpSkillTable th:nth-child(5),
#mpSkillTable th:nth-child(6) {
    min-width: 95.5px;
}

/* 여섯 번째 열 '초당 MP 소모량'에 최소 너비 설정 */
#mpSkillTable th:nth-child(7) {
    min-width: 90px;
}

/* 칠곱 번째 열 '삭제'에 최소 너비 설정 */
#mpSkillTable th:nth-child(8) {
    min-width: fit-content;
}

.skgr{
    min-width: fit-content;
}