.irisme-hidden {
    display: none;
}

/* 滑鼠圖示  */

.irisme-menu, label.irisme-parent, label.irisme-parent input, .irisme-tree-li i {
    cursor: pointer;
}

/* irisme-tree-li */

.irisme-tree-li {
    font-size: 15px;
    list-style: none;
    list-style-type: none;
    margin: 0;
    position: relative;
}

.irisme-tree-li a:focus {
    text-decoration: none;
}

.irisme-tree-li::before {
    border-left: 1px solid #1d82dc;
    bottom: 50px;
    height: 100%;
    top: 0;
    width: 1px;
}

.irisme-tree-li::after {
    border-top:1px solid #1d82dc;
    height:20px;
    top:14px;
    width:20px
}

.irisme-tree-li::before, .irisme-tree-li::after {
    content:'';
    left:-33px;
    position:absolute;
    right:auto;
}

li.irisme-tree-li-root::before, li.irisme-tree-li-root::after {
    border: 0;
}

li.irisme-tree-li:last-child::before {
    height: 14px;
}

/* loading_msg */

#irisme_loading_msg{
    position: fixed;
    width: 220px;
    height: 60px;
    z-index: 99999;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    line-height: 60px;
    background-color: rgba(255, 249, 225, 0.8);
    border-radius: 5px;
    box-shadow: 0 0 5px #888;
    cursor: wait;
    display: none;
}

#irisme_loading_msg:before{
    content: '';
    position: absolute;
    top: 15px;
    left: 10px;
    width: 30px;
    height: 30px;
    background-color: #ab0000;
    border-radius: 100%;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
    0% { -webkit-transform: scale(0) }
    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    } 100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 0;
    }
}

/* checkbox 樣式 */

label.irisme-parent {
    position: relative;
    display: block;
    cursor: pointer;
}

label.irisme-parent input[type='checkbox'] {
    display: none;
}

label.irisme-parent>span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2em 1.5em;
    padding-left: 2.8em;
    color: #000;
    font-weight: normal;
}


/* 底框(:before) | 勾選內容(:after) */
label.irisme-parent input+span:before,
label.irisme-parent input+span:after {
    content: '';
    position: absolute;
    height: 1em;
    width: 1em;
    left: 0.8em;
}

label.irisme-parent input[type='checkbox']+span:before {
    background-color: #fff;
    border: 0.125rem solid #777;
}

/* 未勾選、取消勾選動畫時間 */

label.irisme-parent input[type='checkbox']:not(:checked)+span:before,
label.irisme-parent input[type='checkbox']:not(:checked)+span:after {
    transition: 0.1s;
}

/* 已勾選、勾選動畫時間 */

label.irisme-parent input[type='checkbox']:checked+span:before,
label.irisme-parent input[type='checkbox']:checked+span:after {
    opacity: 1;
    transition: 0.4s;
}

/* checkbox */

label.irisme-parent input[type='checkbox']+span:before {
    border-radius: 10%;
}

label.irisme-parent input[type='checkbox']:checked+span:before {
    border: 0.125rem solid #0075ff;
    background-color: #0075ff;
}

label.irisme-parent input[type='checkbox']+span:after {
    display: inline-block;
    width: 0.25em;
    height: 0.7em;
    margin-left: 0.35em;
    background-color: unset;
    border-top: 0.15em solid transparent;
    border-left: 0.15em solid transparent;
    border-right: 0.15em solid #fff;
    border-bottom: 0.2em solid #fff;
}

label.irisme-parent input[type='checkbox']:checked+span:after {
    -webkit-transform: rotateZ(40deg);
    transform: rotateZ(40deg);
}

label.irisme-parent input[type='checkbox']:checked+span {
    background-color: #cecece;
    border-radius: 0em;
    transition: .3s;
}
