
.menu {
    max-width: 1200px;
    width: 100%;
    margin: 1.5rem auto 0 auto;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}
.menu > div {
    width: 100px;
    word-break: keep-all;
    text-align: center;
    line-height: 1.1;
    font-weight: bold;
    font-size: 18px;
}

.menu > div:not(:first-child) {
    margin-left: 30px;
}

.menu > div.active {
    color: rgb(51, 102, 171);
}

.menu > div:hover{
    color: rgb(51, 102, 171);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    padding: 0.6rem 1rem;
    border-top: 1px solid rgb(230, 230, 230);
    justify-content: space-around;
    width: 100%;
    height: 80px;
}
.mobile-menu > div > div {
    filter: grayscale(1);
    background-size: 35px 35px;
    width: 100%;
    height: 35px;
    background-position: center;
    background-repeat: no-repeat;
}
.mobile-menu > div {
    font-weight: bold;
    padding-top : 5px;
    font-size: 11px;
}
.mobile-menu > div.active > div {
    filter: grayscale(0);
}
.mobile-menu > div.active {
    color: rgb(51, 102, 171);
}

.mobile-menu > div:nth-child(1) > div {
    background-image: url("/images/icon/menu_icon5-2.png");
}

.mobile-menu > div:nth-child(2) > div {
    background-image: url("/images/icon/way.png");
}

.noticeWrap {
    width: 100%;
    /*height: calc(100% - 199.8px);*/
    display: flex;
    justify-content: center;
    overflow: auto;
    margin-bottom: 10px;
}
.noticeWrap .admin-header {
    width: 200px;
    height: 50px;
    margin: 24px auto;
    color: white;
    text-align: center;
    font: bold 18px / 40px NanumGothic;
    background: url('/images/background/bg_title.png') 0px 0px / contain no-repeat transparent;
}

.noticeWrap .container {
    max-width: 1200px;
    width: 95%;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 748px;
}

.noticeWrap .header {
    padding: 2rem 0;
    margin-bottom: 0;
    color: rgb(51, 102, 171);
    text-align: center;
    border-bottom: 1px solid rgb(33, 84, 153);
    font-size: 2rem;
}

.noticeWrap .content {
    margin: 24px 0px;
    padding: 30px 60px;
    transition: all 0.3s ease 0s;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
    height: calc(100% - 101px);
}

.noticeWrap .admin-content {
    width: 100%;
    height: calc(100% - 150px);
    min-height: 500px;
    padding: 30px 60px;
    transition: all 0.3s ease 0s;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
}

.noticeWrap .admin-content .list a{
    list-style: none;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 0.5rem;
    border-bottom: 2px solid lightgrey;
    gap: 15px;
}
.noticeWrap .admin-content .list {
    padding: 0;
    margin: 0;
    height: calc(100% - 126px);
    overflow: auto;
}

.noticeWrap .admin-content .list a:hover {
    cursor: pointer;
    background-color: #eeeeee;
}
#post {
    outline: none;
    border: none;
    text-align: center;
    width: 170px;
}
#post.modify {
    cursor: pointer;
}

.post-box {
    height: 40px;
    padding: 8px 16px;
    border: 1px solid rgb(204, 234, 234);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
    background: 0px 0px no-repeat rgb(255, 255, 255);
    display: flex;
    margin-top: 10px;
    /*margin-bottom: 10px;*/
    gap: 10px;
}
.post-box > div:nth-child(1) {
    margin-right: 20px;
}
.noticeWrap .content.admin-view:hover {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 6px 12px;
}
.noticeWrap .content.admin-view .button-box {
    padding: 16px 0px;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}
.noticeWrap .content.admin-view {
    width: 100%;
    /*height: calc(100% - 128px);*/
    min-height: 500px;
    padding: 20px 60px;
    transition: all 0.3s ease 0s;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
    margin: 0;
    /*overflow: auto;*/
}
.noticeWrap .admin-content .title {
    padding: 16px 0px;
    display: flex;
    justify-content: right;
    border-bottom: 1px solid rgb(33, 84, 153);
}

.noticeWrap .admin-content .title a {
    background: rgb(51, 102, 171);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
    border: none;
    padding: 4px 16px;
    color: rgb(255, 255, 255);
}
.noticeWrap .admin-content .title a:hover {
    filter: brightness(1.1);
}

.noticeWrap .content.list {
    margin: 0px;
    padding: 0px;
    transition: none;
    box-shadow: none;
}
.noticeWrap .pagination {
    width: 100%;
    height: 50px;
    padding: 16px;
    display: flex;
    align-items: center;
}
.noticeWrap .pagination .previous {
    -webkit-box-flex: 5;
    flex-grow: 5;
    text-align: left;
}

.noticeWrap .pagination .pages > a:not(:first-child) {
    margin-left: 10px;
}

.noticeWrap .pagination .next {
    -webkit-box-flex: 5;
    flex-grow: 5;
    text-align: right;
}
.noticeWrap .pagination img.active {
    cursor: pointer;
}
.noticeWrap .pagination .pages a.active{
    color: rgb(51, 102, 171);
    text-decoration: underline;
    font-weight: bold;
}
.noticeWrap .pagination .pages a:hover {
    cursor: pointer;
    color: rgb(51, 102, 171);
    text-decoration: underline;
    font-weight: bold;
}
.noticeWrap .pagination img {
    width: 20px;
    height: 20px;
}
.noticeWrap .content a{
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 0.9rem 10px;
    border-bottom: 2px solid lightgrey;
    gap: 15px;
}
.noticeWrap .content a:hover {
    color: rgb(51, 102, 171);
    cursor: pointer;
    font-weight: bold;
}
.bl-button {
    background: rgb(51, 102, 171);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
    border: none;
    margin: 0px 10px 0px 0px;
    padding: 4px 16px;
    color: rgb(255, 255, 255);
    cursor: pointer;
}
.wt-button.off,
.bl-button.off {
    display: none;
}
.bl-button:hover,
.wt-button:hover{
    filter: brightness(1.1);
}
.noticeWrap .content a > div:nth-child(1) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(100% - 160px);
}

.wt-button{
    background: rgb(204, 234, 234);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
    border: none;
    padding: 4px 16px;
    color: rgb(0, 0, 0);
    cursor: pointer;
}
.noticeWrap .content .view-box > div{
    display: flex;
    flex-direction: column;
    margin: 16px 0px;
}
.noticeWrap .content .view-box .b_content a{
    border-bottom: none;
    display: inline;
    padding : 0;
}
.noticeWrap .content .view-box .b_content {
    resize: none;
    padding: 8px 16px;
    border: 1px solid rgb(204, 234, 234);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
    background: 0px 0px no-repeat rgb(255, 255, 255);
    /*font-size: 16px;*/
    font-size: inherit;
    line-height: inherit;
    outline: none!important;
    min-height: 350px;
    overflow: auto;
    max-width: 1080px;
}
.noticeWrap .content .view-box .title {
    height: 40px;
    padding: 8px 16px;
    border: 1px solid rgb(204, 234, 234);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
    background: 0px 0px no-repeat rgb(255, 255, 255);
    font-size: 16px;
    outline: none!important;
    margin-bottom: 10px;
}
.noticeWrap .content .view-box .b_content.modify,
.noticeWrap .content .view-box .title.modify {
    background: rgba(204, 234, 234, 0.3);
}

.noticeWrap .content .view-box .attach-box.admin .attach{
    width: 100%;
}
.noticeWrap .content .view-box .attach-box.admin .attach.modify {
    width: calc(100% - 120px);
}

.noticeWrap .content .view-box .attach-box.admin .attach-btn {
    line-height: 30px;
}
#attach-file {
    display: none;
}

.attach-delete {
    background-image: url("/images/icon/minus.png");
    background-size: 15px 15px;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10px 15px;
    cursor: pointer;
}
.attach-delete:hover{
    filter: brightness(1.1);
}

.noticeWrap .content .view-box .attach-box .attach{
    height: 40px;
    padding: 8px 16px;
    border: 1px solid rgb(204, 234, 234);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
    background: 0px 0px no-repeat rgb(255, 255, 255);
    display: flex;
    width: calc(100% - 80px);
}

.noticeWrap .content .view-box .list-btn {
    background: rgb(51, 102, 171);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 6px;
    border: none;
    padding: 12px;
    color: rgb(255, 255, 255);
}

.noticeWrap .content .view-box .list-btn:hover {
    cursor: pointer;
    filter: brightness(1.1);
}
.noticeWrap .content .view-box .attach-box{
    -webkit-box-pack: justify;
    justify-content: space-between;
    gap: 5px;
    display: flex;
    margin-top: 10px;
}
.noticeWrap .content .view-box {
    display: flex;
    flex-direction: column;
    margin: 16px 0px;
}

.noticeWrap .content.admin-view .view-box {
    margin: 0px;
}
.item-right {
    width: 160px;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.item-right.popup {
    width: 100px;
}
.attach-file:hover {
    color: rgb(51, 102, 171);
    cursor: pointer;
    font-weight: bold;
}

.attach-file:before {
    content: "";
    background-image: url("/images/icon/clip-board.png");
    display: inline-block;
    background-size: 15px 15px;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 920px) {
    /*.noticeWrap {*/
    /*    height: calc(100% - 200.19px);*/
    /*}*/

}

@media (max-height: 765px) {
    /*.noticeWrap {*/
    /*    height: calc(100% - 200.19px);*/
    /*}*/
}


@media (max-width: 720px) {
    /*.noticeWrap {*/
    /*    height: calc(100% - 205.19px);*/
    /*}*/
    .noticeWrap .content a > div:nth-child(1) {
        width: calc(100% - 72px);
        font-size: 14px;
    }
    .item-right{
        width : 70px;
        font-size: 12px;
    }
    .item-right > div:nth-child(2) {
        display: none;
    }
    .noticeWrap .header{
        font-size: 1.5rem;
    }
}


@media (max-width: 547px) {
    /*.noticeWrap {*/
    /*    height: calc(100% - 216.19px);*/
    /*}*/
}

@media (max-width: 420px) {
    .mobile-menu {
        display: flex;
    }

    .menu {
        display:  none;
    }

    .noticeWrap {
        /*height: calc(100% - 149.19px);*/
        padding: 5px 0 78px 0;
    }

    .noticeWrap .header {
        font-size: 1.2rem;
        padding: 1rem 0;
    }


    .noticeWrap .container {
        min-height: 0;
    }
    .noticeWrap .container.view {
        min-height: 450px;
    }

    .noticeWrap h2 {
        font-size: 14px;
    }
    .noticeWrap .content a {
        padding: 10px;
        font-size: 13px;
    }


    /*textarea {*/
    /*    row*/
    /*}*/

    .noticeWrap .content.view {
        padding: 0px 20px;
    }
}