/* layout */
.admin-wrap {
    display: grid;
    grid-template-columns: 260px minmax(1020px, 1fr);
    grid-template-rows: 66px minmax(527px, auto);
    grid-template-areas:
        "header header "
        "nav  main  ";
    height: 100%;
    font-size: 1.7rem;
    /* min-height: 100vh; */
}

.admin-wrap header {
    background-color: var(--gray-dark);
    grid-area: header;
}

.admin-wrap header * {
    color: var(--white);
}

.admin-wrap header .logo {
    font-size: 2.4rem;
    font-weight: bold;
}


.admin-wrap header nav .admin-main-menu li {
    font-size: 1.6rem;
    padding: .5rem 2rem;
}

.admin-wrap header nav .admin-main-menu li.main-active{
    background-color: #292929;
    border-radius: 5rem;
}

.admin-wrap .admin-sub-menu {
    height: 100%;
    background-color: var(--secondary);
    box-shadow: 5px 0 5px var(--light);
    grid-area: nav;
}




.side-menu {
    border-top: 0.5px solid var(--gray);
    height: calc(100% - 122px);
    overflow-y: auto;
}

.side-menu li.sub-active {
    background-color: var(--blue);
}

.side-menu li.sub-active a,
.side-menu li.sub-active span {
    color: var(--white);
}

.side-menu li a,
.side-menu li span {
    display: block;
    width: 100%;
    font-size: 1.6rem;
    position: relative;
    padding-left: 1.5rem;
}

.side-menu li a::after,
.side-menu li span::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: var(--gray-dark);
}

.side-menu li.sub-active a::after,
.side-menu li.sub-active span::after {
    background-color: var(--white);
}


.admin-wrap .main-warp {
    grid-area: main;
}

.admin-wrap .main-warp>div.router-wrap {
    height: 100%;
    padding: 5rem 3rem;
}


/* admin pagination */
.admin-pagination .pagination-button-type a.active {
	background-color: var(--blue);
	color: white;
	cursor: default !important;
}



/* admin style */
.admin-style details{
    border-top: 2px solid var(--gray-dark);
    border-bottom: 1px solid var(--gray-dark);
}

.admin-style summary{
    padding: 1rem;
    background-color: var(--light);
    font-size: 1.8rem;
    color: var(--blue);
}

.admin-style .summary-style {
    font-size: 1.6rem;
    position: relative;
}

.admin-style .summary-style::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: var(--blue);
}

.summary-style::before{
    transform: translateY(-50%);
}


.admin-info{
    background-color: var(--gray-dark);
    border-radius: 1rem;
    box-shadow: 0 0 5px var(--gray);
}

.admin-name{
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light);
}
.admin-btn{
    color: var(--light);   
     position: relative;
     font-size: 1.4rem;
}
.admin-btn:first-child::after{
    content: "";
    width: 1px;
    height: 10px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: var(--light);
}


.full-page{
    width: 100%;
    height: calc(100% - 66px);
}

.tree-zone{
    background-color: var(--light);
    border-radius: 1rem;
}
.tree{
    width: 100%;
    /* height: calc(100% - 56px); */
    height: calc(100% - 115px);
}
.btn-zone{
    border-top: 1px solid var(--dark);
}


.admin-style .detail-table {
    border-top: 2px solid var(--gray-dark);
    border-bottom: 1px solid var(--gray-dark);
    table-layout: fixed;
    width: 100%;
}

.admin-style .detail-title {
    background-color: var(--light);
    border-bottom: 1px solid var(--gray-dark);
}

.admin-style .detail-title td {
    padding: 2rem 1.5rem;
}

.admin-style .detail-table th{
    background-color: var(--light);
}

.admin-style .detail-table-title {
    font-size: 1.8rem;
}

/* 약관 상세보기 */
.title-zone{
    background-color: var(--light);
}

.title-zone p{
    font-size: 2rem;
    color: var(--blue);
    font-weight: 700;
}

.viewer{
    border-top: 1px solid var(--dark);
    border-bottom: 1px solid var(--dark);
}


/* 팝업 */
.popup-container{
    background: #fff; 
    border-radius: 5px;
    overflow: hidden;
}

.popup-container .img-link{
    display: block;
    width: 100%;
    height: 100%;
}

.iframe-container{
  position: relative;
  width: 100%;
  height: 0;
  padding-top: calc(9/16 * 100%);
}

.iframe-container iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 영상게시판 */
.video-zone,
.gall-zone{
    width: 70%;
    margin: 0 auto;
    margin-bottom: 3rem;
}
.gall-zone{
    width: 100%;
}

.sticy{
    position: sticky;
    top: 0;
}
