.box {display: flex !important;align-items: center;justify-content: center;}
.box .item {width: 100px;height: 100px;}

.select-group-wrap {position:relative;}

.select-wrap {position:relative;}
.select-wrap .selectbox {
    position: relative;
    z-index: 2;
    width: fit-content;
    border: 0.1em solid #999;
    overflow: hidden;
    font-size: 13px;
    color: #fff;
    padding: 10px 0 10px 18px;
    width: 100%;
    color: white;
    cursor: pointer;
    background: #171717;
    border: 1px solid #f5f5f5;
    border-radius: 4px;
}
.select-wrap .selectbox i {position:absolute;right:10px;top:50%;margin-top:-8px;}
.select-wrap .selectbox-ul{
    z-index:99;
    list-style-type: none;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 13px;
    color: #666666;
    border: 0.1em solid #999;
    display: none;
    position: absolute;
    background: #eee;
    top:0px;
    width:100%;
    border-radius: 4px;
}
.select-wrap .selectbox-ul li{
    padding: 10px 0 10px 18px;
    width: 100%;
    box-sizing: border-box;
    /* background: #eee; */
    /* color: #555; */
    border-bottom: solid 1px #999;
    font-size: 13px;
    cursor: pointer;
    position: relative;
}
.select-report {display:block;}
.select-wrap .selectbox-ul li i {position:absolute;right:10px;top:50%;margin-top:-8px;}
.select-wrap .selectbox-ul li:hover {color:#111;}
.select-wrap .selectbox-ul li.selected {color:#a31717; font-weight: bold;}

.selectbox-text {display:block;margin-top:5px;display:none;}
.selectbox-text input[type=text]{ width:100%;height:36px;border:solid 1px #999;background:#eee;padding-left:10px;}

/* 공지 팝업 */
.popup-layer {background: rgb(255, 255, 255);border: 1px solid rgb(233, 233, 233);font-size: 12px;position: absolute;z-index: 999999;overflow:hidden;display:none;}
.popup-layer h1 {background: rgb(51, 51, 51);padding: 10px;color: rgb(255, 255, 255);cursor: move;}
.popup-layer-content {padding: 10px;height:100%;margin-bottom:40px;}
.popup-foot {background: #ffffff;left: 0px;width: 100%;bottom: 0px;font-size: 11px;position: absolute;border-top:solid 1px #ddd;padding-left:10px;display:flex;}
.popup-foot form {padding: 5px 10px;}
.popup-foot * {position: relative;vertical-align: middle;line-height:40px;}
.popup-foot label {margin-left:4px;}
.popup-foot .button {position:absolute;right:10px;top:0px;cursor: pointer;float:right;display:inline-block;width:60px;height:24px;line-height:24px;padding:0px 5px;text-align:center;}





.select-wrap .selectbox2 {
    position: relative;
    z-index: 2;
    width: fit-content;
    border: 0.1em solid #999;
    overflow: hidden;
    font-size: 13px;
    color: #fff;
    padding: 10px 0 10px 18px;
    width: 100%;
    color: white;
    cursor: pointer;
    background: #171717;
    border: 1px solid #f5f5f5;
    border-radius: 4px;
}
.select-wrap .selectbox2 i {position:absolute;right:10px;top:50%;margin-top:-8px;}
.select-wrap .selectbox2-ul{
    z-index:99;
    list-style-type: none;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 13px;
    color: #666666;
    border: 0.1em solid #999;
    display: none;
    position: absolute;
    background: #eee;
    top:0px;
    width:100%;
    border-radius: 4px;
}
.select-wrap .selectbox2-ul li{
    padding: 10px 0 10px 18px;
    width: 100%;
    box-sizing: border-box;
    /* background: #eee; */
    /* color: #555; */
    border-bottom: solid 1px #999;
    font-size: 13px;
    cursor: pointer;
    position: relative;
}
.select-report {display:block;}
.select-wrap .selectbox2-ul li i {position:absolute;right:10px;top:50%;margin-top:-8px;}
.select-wrap .selectbox2-ul li:hover {color:#111;}
.select-wrap .selectbox2-ul li.selected {color:#a31717; font-weight: bold;}


/* 공지 팝업 */
@media screen and (max-width:680px) {
    .popup-container {
        padding: 10px;
        position: fixed;
        left: 0px;
        top: 0px;
        right:0px;
        bottom: 0px;
        z-index: 999999;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .popup-layer {
        width:100%;
        left: 0px !important;
        top: 50px !important;
        background: rgb(255, 255, 255);
        border: 1px solid rgb(233, 233, 233);
        font-size: 12px;
        position: relative;
        overflow: hidden;
        display: none;
    }

    .popup-layer h1 {
        background: rgb(51, 51, 51);
        padding: 10px;
        color: rgb(255, 255, 255);
        cursor: move;
    }

    .popup-layer-content {
        padding: 10px;
        height: 100%;
        margin-bottom: 40px;
    }

    .popup-layer-content img {width:100%;}

    .popup-foot {
        background: #ffffff;
        left: 0px;
        width: 100%;
        bottom: 0px;
        font-size: 11px;
        position: absolute;
        border-top: solid 1px #ddd;
        padding-left: 10px;
        line-height: 40px;
    }

    .popup-foot form {
        padding: 5px 10px;
    }

    .popup-foot input[type=checkbox] {
        margin-top: 0px;
    }

    .popup-foot * {
        position: relative;
        vertical-align: middle;
    }

    .popup-foot .button {
        position: absolute;
        right: 20px;
        top: 0px;
        cursor: pointer;
        float: right;
        display: inline-block;
        width: 60px;
        height: 24px;
        line-height: 24px;
        padding: 0px 5px;
        text-align: center;
    }
}

/* quick menu */
#family-container {top:-340px;height:340px;position:fixed;z-index:99;padding:20px;width:100%;display:flex;max-width:500px;left:50%;margin-left:-250px;}
#family-container .inner {background:#171717;border-radius:10px;height:100%;width:100%;opacity: 0.96;padding:20px;}
#family-container .inner h3 {font-size:14px;font-weight:bold;height:20px;display:flex;align-items: center;color:#eee;}
#family-container .inner .list {display:grid;grid-template-columns: repeat(3, 1fr);gap: 15px;margin-top:10px;}
#family-container .inner .list a {display:flex;font-size:13px;color:#fff;font-weight:normal;background:#131313;padding:6px;border-radius:5px;}
#family-container .inner .list a i {margin-right:4px;color:#a31717;}
#family-container .pop-family-close {position:absolute;right:30px;top:30px;width:40px;height:40px;}
#family-container .pop-family-close i {font-size:22px;color:#aaa;}
#family-container.slide-down {top:0px;transition: all .3s ease-out;}
#family-container.slide-up {top:-340px;transition: all .3s ease-out;}

@-webkit-keyframes animation {
    0.00% { background-color: red;    }
   14.29% { background-color: orange; }
   28.57% { background-color: yellow; }
   42.86% { background-color: green;  }
   57.14% { background-color: blue;   }
   71.43% { background-color: indigo; }
   85.71% { background-color: violet; }
  100.00% { background-color: red; }
}

@keyframes animation {
    0.00% { background-color: red;    }
   16.67% { background-color: orange; }
   33.33% { background-color: yellow; }
   50.00% { background-color: green;  }
   66.67% { background-color: blue;   }
   83.33% { background-color: indigo; }
  100.00% { background-color: violet; }
}

.color-change {
    -webkit-animation-name: animation;
    -webkit-animation-duration: 20s;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-play-state: running;
    animation-name: animation;
    animation-duration: 20s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: running;
}


/* 헤더 반응형 처리 : 960 */
@media screen and (max-width:680px) {
    /* 퀵메뉴 */
    #family-container {top:-340px;height:340px;position:fixed;z-index:99;padding:20px;width:100%;display:flex;max-width:500px;left:auto;margin-left:0px;}
}

@media screen and (max-width:360px) { 
    .select-wrap .selectbox2 {
        width: 50%;
        margin-left: auto;
    }
    
    
}

