:root {
    --item-1-color: #9D1300;
    --item-2-color: #C59305;
    --item-3-color: #7E9300;
    --item-4-color: #005B78;

    --item-01-color: #FAF3F2;
    --item-02-color: #FCF9F2;
    --item-03-color: #F8F9F2;
    --item-04-color: #F2F7F8;

    --option-1-color: #B24940;
    --option-2-color: #FF8B5C;
    --option-3-color: #56B791;
    --option-4-color: #005272;
}


/* 팝업 */
/* .scroll{
    margin: 0 2px;
    overflow: hidden;
    overflow-y: auto;
    max-height: 300px;
    padding:0 10px;
}
.scroll{margin:0 2px;overflow:hidden;overflow-y:auto;}
.scroll::-webkit-scrollbar{width:4px;height:4px;}
.scroll::-webkit-scrollbar-track{background-color:#fff;border-radius:5px;}
.scroll::-webkit-scrollbar-thumb{background:#d2d2d2;border-radius:5px;height:10%;}
.scroll::-webkit-scrollbar-thumb:hover{background:#d2d2d2;}
.modal_btn.brown.mr-10, .modal_logout{
    margin-right: 10px;
}
.modal_logout{
    color: var(--white-color);
    padding: 8px 18px ;
    text-align: center;
    font-size: 15px;
}
.modal_popup {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    overflow-y: hidden;
    background: var(--bg-black-op-5);
    z-index: 201;
    transition: all .3s;
}
.modal_wrap_s {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 0px 16px 20px 16px;
    background: var(--white-color);
    z-index: 101;
    text-align: center;
    box-shadow: 0px 3px 9px rgba(0,0,0,.5);
}
.modal_top_w_s{
    width: 100%;
    display: flex;
    justify-content:end;
    padding: 15px 0px;
    background: var(--white-color);
}
.modal_exit>img{
    cursor: pointer;
}
.modal_icon{
    width: 100%;
    text-align: center;
}
.modal_icon>img{
    width: 45px;
    margin-bottom: 20px;
}
.modal_warning{
    font-size: 16px;
    color: #000;
}
.modal_btn_w{
    margin-top: 30px;
    width: 100%;
}
.modal_btn{
    color: var(--white-color);
    padding: 8px 18px ;
    text-align: center;
    font-size: 15px;
}
.modal_btn_s{
    color: var(--white-color);
    padding: 8px 18px ;
    text-align: center;
    font-size: 15px;
}
.brown{
    background: var(--secondary-color);
}
.grey{
    background: var(--border-medium-grey-color);
} */

.btn_logout_cancle {
    color: var(--white-color);
    padding: 8px 18px;
    text-align: center;
    font-size: 15px;
}

/* 전화 상담 예약 팝업 */
.modal_wrap_m {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    padding: 0px 16px 20px 16px;
    background: var(--white-color);
    z-index: 101;
    text-align: center;
    box-shadow: 0px 3px 9px rgba(0, 0, 0, .5);
}

.modal_title {
    font-size: 24px;
    line-height: 40px;
    color: #000;
    margin-bottom: 30px;
    font-weight: 700;
}

.modal_s_content {
    justify-content: center;
    padding: 0 10px 0 10px;
    display: flex;
}

.modal_s_content>div {
    text-align: start;
    font-size: 14px;
    line-height: 20px;
}


/* 채딩 상담 예약 팝업 */
.modal_wrap_m div:nth-child(4) {
    font-size: 17px;
    line-height: 25px;
    font-weight: 500;
}



/* login */
.bg_admin_login {
    width: 100%;
    height: 100vh;
    min-height: 100%;
    min-width: 100%;
    overflow: hidden;
    background: url(https://s3.unipware.com/lawhere/images/bg_admin_login.jpg) no-repeat;
    background-size: cover;
    background-position: left;
}

.ir_su {
    overflow: hidden;
    position: absolute;
    width: 0;
    height: 0;
    line-height: 0;
    text-indent: -9999px;
}

.forMobile_login {
    display: none;
}

.login_w {
    position: fixed;
    top: 45%;
    right: 15%;
    transform: translateY(-50%);
    width: 100%;
    height: 50%;
    max-width: 350px;
    height: auto;
    color: var(--white-color);
    text-align: center;
}

.login_title {
    font-size: 30px;
    margin-bottom: 50px;
}

.login_form {
    font-size: 24px;
}

.login_form div {
    display: flex;
    justify-content: space-between;
    line-height: 50px;
}

.login_form>div {
    margin-bottom: 20px;
}

.login_form>div:nth-child(2) {
    margin-bottom: 40px;
}

.login_form input {
    background-color: rgb(255, 255, 255, 0.5);
    border: 0px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 400;
    width: 85%;
    padding: 15px;
}

.btn_login {
    background: var(--main-color);
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 18px;
}

.img_login_text {
    width: 50%;
    height: 50vh;
    background: url(https://s3.unipware.com/lawhere/images/img_login_text.svg) no-repeat;
    background-position: right;
    position: fixed;
    bottom: -15%;
    right: 5%;
    transform: translateY(-50%, -50%);
    opacity: 0.3;
}

/* 관리자 > 언론보도 */
.admin_main_location {
    background-image: url('https://s3.unipware.com/lawhere/images/admin_main_half.jpg');
}

.admin_contents_top {
    padding: 100px 0 30px 0;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.admin_contents_top input {
    width: 350px;
    padding: 12px 14px;
    font-size: 18px;
    border: 1px solid var(--border-light-grey-color);
    box-sizing: border-box;
}

.admin_contents_top>div:first-child {
    display: flex;
    justify-content: space-between;
}

.admin_contents_top>div>.select {
    margin-right: 15px;
}

.qna_select {
    height: 100% !important;
    width: 120px !important;
}

.b_btn {
    width: 47px;
    margin: 0;
    background-color: var(--secondary-color);
    color: transparent;
}

.admin_contents_top input::placeholder {
    font-size: 16px;
}

.btn_search {
    width: 47px;
    height: 47px;
    background: url(https://s3.unipware.com/lawhere/images/ico_search.svg) no-repeat center;
    background-size: 20px;
}

.btn_add, .btn_law_add {
    width: 47px;
    height: 47px;
    background: url(https://s3.unipware.com/lawhere/images/icon_plus.svg) no-repeat center;
    background-size: 20px;
}

.admin_search_area .btn_search {
    width: 47px;
    height: 47px;
    background: url('https://s3.unipware.com/lawhere/images/ico_search.svg') no-repeat center;
    background-size: 20px;
}

/* 테이블 */
.admin_news_table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
}
.admin_news_table .q_top_fixed .fixed{
    display: flex;
    align-items: center;
}
.admin_news_table .q_top_fixed .fixed img{
    margin-left: 0;
    margin-right: 10px;
    height: 18px;
}
.admin_news_table th,
.admin_news_table td {
    color: #000;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    padding: 15px 0;
}

.admin_news_table tr {
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 58, 55, 0.08);
}

.admin_news_table tr:hover {
    background: #FAF5E6;
}

.admin_news_table th {
    background: #ededed;
}

.admin_news_table tbody th {
    border-bottom: 1px solid rgba(0, 58, 55, 0.08);
}

.admin_news_table tbody tr td {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.td_left td:nth-child(2) {
    text-align: left !important;
}






/* 언론보도 등록 팝업 */
.modal_content_w {
    display: flex;
    font-size: 15px;
    padding: 20px 20px 0 20px;
}

.modal_content_w>div:first-child {
    display: flex;
    align-items: center;
    width: 20%;
    margin-right: 10px;
}
.top_fixed_w{
    padding-left: 115px !important;
    .top_fixed{
        margin: 0 !important;
    }
    .top_fixed::before {
        content: " ";
        display: inline-block;
        vertical-align: middle;
        width: 18px;
        height: 19px;
        border: 1.5px solid #c3c3c3;
        border-radius: 5px;
        margin: 0;
        margin-right: 5px;
    }
    .top_fixed.active::before {
        margin: 0;
        margin-right: 5px;
    }
}
.word-break-keep{
    word-break: keep-all;
    text-align: left;
}
.modal_content_w input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid var(--border-light-grey-color);
    box-sizing: border-box;
}

.modal_content_w input::placeholder {
    font-size: 14px;
    font-weight: 100;
}

.datepicker {
    position: relative;
    width: 100% !important;
    margin-right: 0;
}

.datepicker>input {
    display: flex;
    width: 35%;
    text-align: start;
}

.icon_date {
    position: absolute;
    background: url(https://s3.unipware.com/lawhere/images/icon_date.svg) no-repeat;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin: 12px;
    margin-left: 25%;
}

.modal_wrap_m>div:nth-child(4) {
    position: relative;
}

.icon_input_cancle {
    position: absolute;
    background: url(https://s3.unipware.com/lawhere/images/icon_input_cancle.svg) 50% 50% no-repeat;
    top: 40%;
    right: 25px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.modal_content {
    display: flex;
    width: 100%;
    text-align: start;
    align-items: center;
}

.modal_content_w button {
    color: var(--white-color);
    padding: 8px 18px;
    text-align: center;
    font-size: 15px;
    margin-right: 10px;
}

.img_file_name {
    display: flex;
}

.icon_img_cancle {
    background: url(https://s3.unipware.com/lawhere/images/icon_input_cancle.svg) no-repeat;
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: 10px;
}

.modal_wrap_m>div:last-child {
    margin-top: 50px;
}

/* datepicker */
.ui-widget.ui-widget-content {
    border: 0;
}

.ui-datepicker {
    width: 250px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    border: 0;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 5px;
    padding: 0 5px;
    z-index: 1200 !important;
}

.ui-datepicker table {
    width: 100%;
    height: 200px;
    margin: 7px 0;
    font-size: .9em;
    border-collapse: collapse;
}

.ui-datepicker .ui-datepicker-header {
    background: #3B2C00;
    margin: 0 -5px;
    text-align: center;
    display: flex;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title {
    display: flex;
    color: #fff;
    font-family: "Pretendard";
    font-size: 18px;
    font-weight: normal;
    line-height: 46px;
    height: 46px;
}

.ui-datepicker .ui-datepicker-title {
    margin: auto;
    /* line-height: 1.8em; */
    text-align: center;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title select {
    color: #fff;
    font-family: "Pretendard";
    font-weight: normal;
    font-size: 18px;
    margin: 0;
    padding: 0;
    min-width: auto;
    width: auto;
    cursor: pointer;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title select option {
    color: #000;
    font-weight: normal;
    font-size: 13px;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title select.ui-datepicker-month {
    margin-left: 6px;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    top: 0;
    left: 0;
    border: 0;
    cursor: pointer;
    width: 35px;
    height: 46px;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: absolute;

}

.ui-datepicker .ui-datepicker-prev .ui-icon {
    background: url(https://s3.unipware.com/lawhere/images/icon_cal_pre.svg) 50% 50% no-repeat;
    display: flex;
    height: 100%;
    font-size: 0;
}

.ui-datepicker .ui-datepicker-next .ui-icon {
    background: url(https://s3.unipware.com/lawhere/images/icon_cal_next.svg) 50% 50% no-repeat;
    display: flex;
    height: 100%;
    font-size: 0;
}

.ui-datepicker .ui-datepicker-next {
    left: auto;
    right: 0;
}

.ui-datepicker th {
    font-family: "Pretendard";
    font-weight: 500;
    padding: 7px 0 4px;
}

.ui-datepicker th span {
    color: rgba(0, 0, 0, 0.3);
    font-size: 14px;
}

.ui-datepicker td span,
.ui-datepicker td a {
    display: block;
    padding: 0.2em;
    text-decoration: none;
    line-height: 26px;
}

.ui-datepicker td span,
.ui-datepicker td a:hover {
    background-color: #ececec;
    border-radius: 50%;
    ;
}

.ui-datepicker td {
    border: 0;
    padding: 1px;
    vertical-align: middle;
}

.ui-datepicker .ui-state-active,
.ui-datepicker .ui-widget-content .ui-state-active {
    background-color: #D5D2CF;
    border-radius: 50%;
    ;
}

.ui-datepicker .mtz-monthpicker,
.ui-datepicker .ui-state-default {
    font-size: 13px;
    color: #000;
    text-align: center;
}

.ui-datepicker .ui-datepicker-buttonpane {
    display: flex;
    border: 0;
    justify-content: space-between;
    padding: 0 10px 0 10px;
}

.ui-datepicker .ui-datepicker-buttonpane button,
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    display: inline-block;
    background-color: #3B2C00;
    border: 1px solid #3B2C00;
    border-radius: 27px;
    font-size: 0;
    font-weight: normal;
    padding: 5px 15px 5px 15px;
    margin: 0 0 13px;
}

.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    background-color: #fff;
}

.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current:before {
    content: "오늘";
    color: #3B2C00;
}

.ui-datepicker .ui-datepicker-buttonpane button:before {
    content: "확인";
    font-size: 13px;
    color: #fff;
}

/* e:datepicker */

.news_d_con {
    width: 100%;
    text-align: start;
}

.opne_link {
    cursor: pointer;
}

.news_d_con_img {
    width: 400px;
    height: 250px;
    background-size: cover;
    margin-bottom: 10px;
    align-items: start;
    display: flex;
    overflow: hidden;
}

.news_d_con_img_w {
    width: 100%;
}
.news_d_con_img_w img{
    margin-bottom: 10px;
}

.news_d_title {
    align-items: start !important;
}

.font-15px {
    font-size: 15px !important;
}

.modal_content input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.btn_file_add {
    color: var(--white-color);
    padding: 8px 15px;
    text-align: center;
    font-size: 15px;
}




/* 관리자 법률 Q&A */
.w_inner {
    max-width: 1300px;
    margin: 0 auto;
}

.qna_con_btn_w {
    text-align: end;
    bottom: 0;
    padding: 20px;
}

.btn_qna_edit {
    padding: 5px 7px 6px 8px;
}

.btn_qna_delete {
    padding: 5px 9px 6px 10px;
}

.q_top_fixed {
    background: #fef7e5;
}

.q_top_fixed img {
    width: 17px;
    margin-left: 15px;
}

.admin_legal {
    border-collapse: collapse;
    width: 100%;
}

.admin_legal td {
    border-top: 1px solid var(--border-light-grey-color);
    border-bottom: 1px solid var(--border-light-grey-color);
}

.admin_legal .q {
    padding: 16px 40px 16px 14px;
    font-size: 40px;
    font-weight: 700;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.admin_legal td .q::after {
    position: absolute;
    top: 0;
    right: 14px;
    width: 20px;
    height: 100%;
    content: '';
    background: url('https://s3.unipware.com/lawhere/images/ico_arrow_select.svg') no-repeat;
    background-position: center;
    transition: all 0.3s;
}

.admin_legal td.active .q::after {
    transform: rotate(180deg);
    transition: all 0.3s;
}

.admin_legal td .q div:last-of-type {
    margin-left: 20px;
    font-size: 18px;
    font-weight: 400;
}

.admin_legal td .a {
    padding: 30px 72px;
    line-height: 1.6;
}

.admin_legal tr:not(.item) {
    display: none;
}

.admin_legal .con {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    /* 부드러운 슬라이드 다운 효과 */
}

.admin_legal .con.active {
    background-color: var(--footer-bg);
    display: table-row;
    max-height: 1000px;
    /* 충분히 큰 값으로 설정하여 내용이 모두 표시되도록 합니다. */
}

.admin_legal .qna_con_btn_w {
    text-align: end;
}

.admin_legal td .a img {
    max-width: 600px;
}










/* 법률 Q&A 작성, 수정 페이지 */
.qna_add_area {
    padding: 100px 50px;
}

.input_line {
    width: 100%;
    display: block;
    padding: 10px 10px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    border-bottom: 1px solid #d2d2d2;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
}

.qna_add_w {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.qna_add_title {
    width: 10%;
    font-size: 24px;
}

.w-100 {
    width: 100%;
}

.w-20 {
    width: 20%;
}

.align-center {
    display: flex;
}

.textarea_style {
    padding: 10px 10px 10px 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    border: 1px solid #d2d2d2;
    width: 100%;
    min-height: 400px;
    resize: none;
}

.textarea_style::placeholder {
    color: #d2d2d2;
    font-size: 14px;
}

.btn_w {
    padding-top: 50px;
    width: 100%;
    justify-content: center;
}
.btn_w_three {
    padding-top: 50px;
    width: 100%;
    justify-content: space-between;
}

.btn_w button:first-child {
    margin-right: 15px;
}

.btn {
    color: var(--white-color);
    padding: 13px 23px;
    text-align: center;
    font-size: 18px;
}

/* 판례 Q&A 등록, 수정 팝업 */
.modal_qna_add_w {
    display: flex;
    font-size: 15px;
    padding: 20px 20px 0 20px;
}

.modal_qna_add_w>div:first-child {
    display: flex;
    align-items: center;
    width: 10%;
    margin-right: 10px;
    text-align: start;
}

.modal_qna_add_w input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid var(--border-light-grey-color);
    box-sizing: border-box;
}

.modal_qna_add_w input::placeholder {
    font-size: 14px;
    font-weight: 100;
}

.align-top {
    padding-top: 5px;
    align-items: start !important;
    font-size: 15px;
}

.select_w {
    display: flex;
    width: 100%;
    align-items: center;
}

.select_w .select>.sel {
    width: 150px;
    height: 30px;
    line-height: 0.7;
}

.select_w .select.active .lSel {
    top: 29px;
}

.select_w .lSel button {
    font-size: 14px;
}

.top_fixed {
    margin-top: 2px;
    margin-right: 5px;
}

.top_fixed::before {
    content: " ";
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 19px;
    border: 1.5px solid #c3c3c3;
    border-radius: 5px;
    margin-left: 15px;
    margin-right: 5px;
}

.small_text {
    font-size: 12px;
    color: #969696;
}

.top_fixed.active::before {
    content: "✓";
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 19px;
    border: 1.5px solid #3B2C00;
    border-radius: 5px;
    margin-left: 15px;
    margin-right: 5px;
    color: #fff;
    background-color: #3B2C00;
}

.modal_btn_w button:first-child {
    margin-right: 10px;
}




/* 판례 관리 > 판례 등록 */


.admin_law_table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 30px;
}

.admin_law_table th,
.admin_law_table td {
    color: #000;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    padding: 15px 0;
}

.admin_law_table tr {
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 58, 55, 0.08);
}

.admin_law_table tr:hover {
    background: #FAF5E6;
}

.admin_law_table th {
    background: #ededed;
}

.admin_law_table tbody th {
    border-bottom: 1px solid rgba(0, 58, 55, 0.08);
}

.admin_law_table tbody tr td {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}



.admin_law_w {
    background-color: var(--footer-bg);
    margin: 100px 0;
}

.admin_law_w.white {
    background-color: #fff
}

.admin_law_w .law_add_w {
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
}

.law_add_con_w {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.law_add_con_w>div:first-child {
    width: 10%;
    font-size: clamp(14px, 4vw, 20px);
}

.law_add_con_w input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid var(--border-light-grey-color);
    box-sizing: border-box;
}

.admin_law_w .info_wrap .con_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}

.law_add_con_w .select_area {
    display: flex;
    width: 100%;
    margin: 0;
    max-width: 1200px;
}

.select_area .select {
    margin-right: 10px;
}

.select_area .select>.sel_wide {
    min-width: 220px;
}

.blank {
    width: 20px;
    height: 20px;
}

.admin_news_table td:nth-child(2) {
    text-align: left;
}





#editor {
    border: 1px solid #ccc;
    font-family: 'Pretendard';
    font-size: 1.2em;
    min-height: 480px;
    margin: 0 auto;
    width: 100%;
    display: block;
    background: #fff;
}

.ql-toolbar.ql-snow {
    width: 100% !important;
    border-bottom: none !important;
    background: #fff;
}

#tooltip-controls,
#sidebar-controls {
    text-align: center;
}

.ql-editor strong {
    font-weight: bolder;
}

.ql-editor em {
    font-style: italic;
}

#editor h1+p,
#editor h2+p {
    margin-top: 0.5em;
}

#editor blockquote {
    border-left: 4px solid #111;
    padding-left: 1em;
}


/* 판례 등록 */
.admin_law_w .law_detail_w {
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
}

.law_detail_w>div:first-child {
    width: 100%;
    font-size: 20px;
}

.law_contents {
    background: #fff;
    padding: 20px 30px;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 2;
}

.law_contents .badge_result_01 {
    background: #3B2C00;
    padding: 6px 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    border-radius: 20px;
    margin-right: 10px;
}

.law_detail_con {
    background: #fff;
    padding: 20px 30px;
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 1.5;
}

.text_center {
    text-align: center;
}

.law_add_con_w .item {
    display: flex;
    width: 100% !important;
    align-items: center;
}

.law_add_con_w.section {
    justify-content: space-between;
}

.law_add_con_w .item.court {
    margin-right: 15px;
}

.law_add_con_w .item.court div {
    min-width: 102px;
}

.law_add_con_w .item.court input {
    min-width: 350px;
}

.law_add_con_w .item.short.judgment {
    margin-right: 15px;
}

.law_add_con_w .item.short div {
    white-space: nowrap;
    margin-right: 15px;
}




/* 예약 및 문의 확인 */
.res_tab_01,
.res_tab_02 {
    display: none;
}

.res_tab_01 {
    padding-bottom: 80px;
    min-width: 870px;
}

.res_tab_01.active,
.res_tab_02.active {
    display: block;
}

.admin_check_res_top {
    padding: 100px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin_check_res_top>div {
    font-size: 30px;
    font-weight: 700;
}

.res_tab>button.active {
    background: var(--secondary-color);
}

.mr-10 {
    margin-right: 10px;
}

.schedule_table_w {
    width: 78%;
    padding: 0px 20px 20px 0px;
    display: flex;
}

.schedule_w {
    width: 22%;
    padding-left: 20px;
    /* min-width: 500px; */
}

.reservaion_list_w {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    padding: 30px;
    margin-bottom: 30px;
}

.reservaion_list_w>.item_list_w:last-child {
    margin-bottom: 0;
}

.today_total_res {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
}

.today_total_res>div:last-child {
    font-weight: 700;
}

.reservaion_list_w .hr_b {
    margin: 23px 0;
    border-bottom: 1px solid var(--border-light-grey-color);
}

.item_list_w {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 20px;
}

.item_list_w>div:first-child:before {
    background-size: 15px auto;
    content: '';
    border: 1px;
    width: 20px;
    height: 20px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    border: 1px solid #a2a2a2;
}

.item_list_w>div:nth-child(2) {
    font-weight: 700;
}

.item1.active::before {
    background: url(/lawhere/images/ico_checkbox1_a.svg) 50% 50% no-repeat var(--item-1-color);
    border: 0 !important;
}

.item2.active::before {
    background: url(/lawhere/images/ico_checkbox1_a.svg) 50% 50% no-repeat var(--item-2-color);
    border: 0 !important;
}

.item3.active::before {
    background: url(/lawhere/images/ico_checkbox1_a.svg) 50% 50% no-repeat var(--item-3-color);
    border: 0 !important;
}

.item4.active::before {
    background: url(/lawhere/images/ico_checkbox1_a.svg) 50% 50% no-repeat var(--item-4-color);
    border: 0 !important;
}

.schedule_w .ui-datepicker {
    width: 100%;
}

.schedule_w .ui-datepicker td {
    height: 100%;
    text-align: center;
}

.schedule_w .ui-datepicker .ui-datepicker-header {
    position: relative;
}

.schedule_w .ui-datepicker .ui-datepicker-prev {
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    cursor: pointer;
    width: 35px;
    height: 46px;
}

.schedule_w .ui-datepicker .ui-datepicker-buttonpane {
    justify-content: end;
}

.complete {
    background: #e3e3e3;
}

.schedule_table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
}

.schedule_table td {
    color: #000;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
}

.schedule_table tr {
    border-bottom: 1px solid rgba(0, 58, 55, 0.08);
    border-top: 1px solid rgba(0, 58, 55, 0.08);
    height: 50px;
}

.schedule_table tr:hover {
    background: #f1f1f1;
}

.time_top {
    cursor: pointer;
    padding: 0;
}

.top_end {
    background: #cecece;
}

.time_top>div {
    display: flex;
    padding: 10px;
    justify-content: center;
}

.tag_call {
    font-size: 13px;
    padding: 5px 8px;
    margin-right: 8px;
    align-items: center;
    display: flex;
}

.end {
    background: #fff;
    color: #787878;
}

.lawyer {
    display: flex;
    align-items: center;
}

.lawyer_end {
    color: #fff;
}

.icon_end {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* 전화 태그 */

.call {
    background: var(--item-1-color);
    color: #fff;
}

.lawyer_call {
    color: var(--item-1-color);
}

.whole_call {
    box-shadow: 0 0 0 2px var(--item-1-color) inset;
    background: var(--item-01-color);
    border: 1px solid var(--item-1-color);
}

/* .top_call{
    background: var(--item-01-color);
    border: 3px solid var(--item-1-color);
    border-bottom: 0px; 
}
.bottom_call{
    background: var(--item-01-color);
    border: 3px solid var(--item-1-color);
    border-top: 0px;
} */


/* 영상통화 태그 */
.video {
    background: var(--item-2-color);
    color: #fff
}

.lawyer_video {
    color: var(--item-2-color);
}

.whole_video {
    box-shadow: 0 0 0 2px var(--item-2-color) inset;
    background: var(--item-02-color);
    border: 1px solid var(--item-2-color);
}

/* .top_video{
    background: var(--item-02-color);
    border: 3px solid var(--item-2-color);
    border-bottom: 0px;
}
.bottom_video{
    background: var(--item-02-color);
    border: 3px solid var(--item-2-color);
    border-top: 0px;
} */

/* 채팅 상담 태그 */
.chat {
    background: var(--item-3-color);
    color: #fff;
}

.lawyer_chat {
    color: var(--item-3-color);
}

.whole_chat {
    box-shadow: 0 0 0 2px var(--item-3-color) inset;
    background: var(--item-03-color);
    border: 1px solid var(--item-3-color);
}

/* .top_chat{ */
/* background: var(--item-03-color);
    border: 3px solid var(--item-3-color);
    border-bottom: 0px; 
}
.bottom_chat{
    background: var(--item-03-color);
    border: 3px solid var(--item-3-color);
    border-top: 0px;
} */

/* 방문 상담 태그 */
.visit {
    background: var(--item-4-color);
    color: #fff;
}

.top_visit {
    background: var(--item-04-color);
    border: 3px solid var(--item-4-color);
    border-bottom: 0px;
}

.bottom_visit {
    background: var(--item-04-color);
    border: 3px solid var(--item-4-color);
    border-top: 0px;
}

.whole_visit {
    box-shadow: 0 0 0 2px var(--item-4-color) inset;
    background: var(--item-04-color);
    border: 1px solid var(--item-4-color);
}

.lawyer_visit {
    color: var(--item-4-color);
}

/* 240327 추가 */
.btn_view {
    display: flex;
    color: var(--white-color);
    padding: 7px 10px;
    align-items: center;
    background: var(--border-medium-grey-color);
}

.btn_view img {
    width: 20px;
}

.btn_view.active {
    background: var(--secondary-color);
}

.admin_contents_top {
    padding: 100px 0 30px 0;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.admin_timetable_top {
    padding-bottom: 30px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.admin_timetable_top>div:first-child {
    display: flex;
}

.admin_timetable_top input {
    width: 350px;
    padding: 12px 14px;
    font-size: 18px;
    border: 1px solid var(--border-light-grey-color);
    box-sizing: border-box;
}

.res_tab_01_01,
.res_tab_01_02 {
    display: none;
    padding-bottom: 80px;
    min-width: 870px;
}

.res_tab_01_01.active,
.res_tab_01_02.active {
    display: block;
}











/* 예약 확인 팝업 */
.res_info_t {
    justify-content: space-between !important;
}

.res_info_tag {
    background: var(--item-3-color);
    color: #fff;
    padding: 5px;
    font-size: 14px;
}

.modal_content_wrap {
    padding: 20px;
}

.modal_content_wrap>div {
    display: flex;
    padding: 10px;
    text-align: start;
}

.modal_content_wrap>div>div:first-child {
    width: 20%;
}

.modal_content_wrap>div>div:nth-child(2) {
    width: 100%;
    word-break: break-all;
}

.admin_res_state .sel {
    width: 25%;
    height: 30px;
    padding: 5px 20px 5px 10px;
    line-height: 1;
}

.admin_res_state .sel {
    width: 25%;
    height: 30px;
    padding: 5px 20px 5px 10px;
    line-height: 1;
}

.admin_res_state .lSel {
    width: 25%;
    top: 28px
}

.btn_w_res_state {
    margin-top: 20px !important;
}

.res_tab_02 .wrap_inner {
    min-width: 500px
}

.admin_res_state_scoll {
    padding-left: 0px;
}

/* 사건문의 */
.case_table {
    width: 100%;
    margin-bottom: 30px;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
}

.case_table th,
.case_table td {
    color: #000;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    padding: 15px 0;
}

.case_table tr {
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 58, 55, 0.08);
}

.case_table tr:hover {
    background: #FAF5E6;
}

.case_table th {
    background: #ededed;
}

.case_table tbody th {
    border-bottom: 1px solid rgba(0, 58, 55, 0.08);
}

.case_table tbody tr td {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* 사건 문의 상세 팝업 */
.modal_case_top_w {
    border-top: 1px solid var(--border-light-grey-color);
    border-bottom: 1px solid var(--border-light-grey-color);
    font-size: 17px;
    font-weight: 500;
    color: #000;
    margin: 15px;
}

.top01,
.top02 {
    justify-content: space-between;
    display: flex;
}

.top01 div,
.top02 div {
    display: flex;
    padding: 7px;
}

.top01>div>div:first-child,
.top02>div>div:first-child {
    color: #afafaf;
    font-weight: 100;
}

.white_sp_no {
    white-space: nowrap !important;
}

.white_sp_pw {
    white-space: pre-wrap !important;
}

.top02>div {
    width: 100%;
}

.top02>div:nth-child(2) {
    margin-left: 2px;
}

.modal_case_con {
    text-align: start;
    padding: 20px 25px;
    color: #000;
    font-size: 16px !important;
}

.modal_case_reply {
    text-align: start;
    padding: 20px 25px;
}

.modal_case_reply>div {
    margin-bottom: 10px;
    color: #afafaf;
}

.modal_case_reply>.textarea_style {
    min-height: 100px;
}

.case_reply_btn {
    margin-top: 30px !important;
}

.under_line {
    display: block !important;
    text-decoration: underline;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 250px;
}

.table_w {
    margin-bottom: 90px;
}

.btn_sub_style {
    padding: 10px 20px;
    background-color: #959595;
    color: var(--white-color);
    border-radius: 0px;
}

/* 예약 리스트 상세 팝업 */
.modal_top_tag_w_s {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px 0px;
    background: var(--white-color);
}

.modal_res_detail_top_w {
    font-size: 17px;
    font-weight: 500;
    color: #000;
    margin: 15px;
}

.modal_content_w {
    display: flex;
    font-size: 15px;
    padding: 20px 20px 0 20px;
}

.modal_content_w>div:first-child {
    display: flex;
    align-items: center;
    width: 20%;
    margin-right: 10px;
}

.modal_content_w input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid var(--border-light-grey-color);
    box-sizing: border-box;
}

.modal_content_w input::placeholder {
    font-size: 14px;
    font-weight: 100;
}

.w-100 {
    width: 100% !important;
}

.manager_memo>div {
    width: 100%;
}

.manager_memo>div>div {
    width: 30%;
    color: #afafaf;
    font-weight: 100;
    text-align: start;
    padding: 12px;
}

.manager_memo textarea {
    padding: 10px 10px 10px 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    border: 1px solid #d2d2d2;
    width: 95%;
    min-height: 150px;
    resize: none;
}

.file_align {
    text-align: left;
}

.law_add_con_w textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid var(--border-light-grey-color);
    box-sizing: border-box;
    min-height: 150px;
}

.law_add_con_w.textarea {
    align-items: first baseline;
}

.law_add_con_w textarea.more {
    min-height: 350px;
}


/* .qna_add_texteditor #editor{
    min-height: 250px;
    max-height: 400px;
}
.qna_add_texteditor .ql-editor{
    overflow-y: scroll;
}
.qna_add_texteditor .ql-editor p{
    font-size: 16px;
}
.qna_add_texteditor .ql-snow .ql-editor h2{
    font-size: 22px;
}
.qna_add_texteditor .ql-snow .ql-editor h1{
    font-size: 28px;
} */




/* 0927 예약 및 문의확인 수정 */
.reserv_tabmenu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0px 0px 17px rgba(0, 0, 0, 0.25);
    top: 37dvh;
    cursor: pointer;
    z-index: 99;
}

.reserv_tab_1,
.reserv_tab_2 {
    display: none;
}

.reserv_tab_1.on,
.reserv_tab_2.on {
    display: block;
}

.reserv_calendar_wrap,
.reserv_tab_1_1,
.reserv_tab_1_2 {
    display: none;
}

.reserv_calendar_wrap.on,
.reserv_tab_1_1.on,
.reserv_tab_1_2.on {
    display: block;
}

.reserv_tab_1_2  {
    position: relative;
    margin-top: 204px;
}

.reserv_tab_1_2 p {
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
}

.case_table {
    margin-top: 88px;
}

.reserv_tabmenu li {
    width: 244px;
    font-size: 20px;
    text-align: center;
    padding: 16px 30px;
    background: #fff;
    color: #3B2C00;
}

.reserv_tabmenu li.on {
    color: #fff;
    background: #3B2C00;
}

.reserv_calendar {
    position: relative;
    padding: 100px 0 60px;
}

.reserv_calendar .ui-datepicker .ui-datepicker-header {
    position: relative;
}

.reserv_calendar h3 {
    font-size: 32px;
    color: #000;
    margin: 0 68px 0;
    cursor: pointer;
}

.reserv_calendar .date {
    display: none;
    position: absolute;
    top: 150px;
    z-index: 999;
}

.reserv_sort li {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    margin-left: -1px;
    font-size: 16px;
    color: #000;
    border: 1px solid #e3e3e3;
    cursor: pointer;
}

.reserv_sort li.on {
    background: #3B2C00;
    color: #fff;
}

.reserv_sort li img {
    display: none;
    width: 20px;
    margin-right: 6px;
}

.reserv_sort li img.on {
    display: block;
}

.reserv_sort li.sort_complete img:first-of-type,
.reserv_sort li.sort_cancel img:first-of-type {
    border: 1px solid #e3e3e3;
    border-radius: 10px;
}

.reserv_sort li span {
    font-size: 18px;
    margin-left: 8px;
    font-weight: 600;
}

.tab_wrap {
    position: relative;
}

.reserv_view_tab {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    z-index: 99;
}

.reserv_view_tab li {
    display: flex;
    margin-left: -1px;
    width: 47px;
    height: 47px;
    justify-content: center;
    border: 1px solid #e3e3e3;
}

.reserv_view_tab li.on {
    background: #C59305;
    border: none;
}

.reserv_view_tab img {
    width: 24px;
}

.reserv_view_tab li img {
    display: none;
}

.reserv_view_tab li img.on {
    display: block;
}

.lawyer_reserv_wrap {
    flex-wrap: wrap;
}

.lawyer_reserv_wrap .lawyer_reserv_element {
    margin: 0 0.3% 44px;
    width: 19.261%;
} 

.lawyer_reserv_wrap .lawyer_reserv_element.lawyer1.am {
    order: 1;
}

.lawyer_reserv_wrap .lawyer_reserv_element.lawyer2.am {
    order: 2;
}

.lawyer_reserv_wrap .lawyer_reserv_element.lawyer3.am {
    order: 3;
}

.lawyer_reserv_wrap .lawyer_reserv_element.lawyer4.am {
    order: 4;
}

.lawyer_reserv_wrap .lawyer_reserv_element.lawyer5.am {
    order: 5;
}

.lawyer_reserv_wrap .lawyer_reserv_element.lawyer1.pm {
    order: 6;
}

.lawyer_reserv_wrap .lawyer_reserv_element.lawyer2.pm {
    order: 7;
}

.lawyer_reserv_wrap .lawyer_reserv_element.lawyer3.pm {
    order: 8;
}

.lawyer_reserv_wrap .lawyer_reserv_element.lawyer4.pm {
    order: 9;
}

.lawyer_reserv_wrap .lawyer_reserv_element.lawyer5.pm {
    order: 10;
}

.lawyer_reserv_wrap .lawyer_reserv_element.lawyer5.am.dummy {
    display:none;
}

.lawyer_reserv_wrap .lawyer_reserv_element:last-of-type {
    margin-right: 0;
}

.lawyer_reserv_wrap .lawyer_reserv_element div.pm {
    margin-top: 40px;
}

.lawyer_reserv_wrap .lawyer_reserv_element h4 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 64px 0 20px;
    font-size: 16px;
    color: #000;
    text-align: center;
}

.lawyer_reserv_wrap .lawyer_reserv_element h4 span {
    font-size: 20px;
    font-weight: 600;
    margin-left: 12px;
}

.lawyer_reserv_wrap .lawyer_reserv_element div.reserv_none p {
    margin-top: 12px;
    font-size: 16px;
    color: #b0b0b0;
    text-align: center;
    word-break: keep-all;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl {
    padding: 12px;
    background: #fff;
    border-top: 4px solid;
    cursor: pointer;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl:not(:last-of-type) {
    margin-bottom: 12px;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.option1 {
    border-color: var(--option-1-color);
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.option2 {
    border-color: var(--option-2-color);
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.option3 {
    border-color: var(--option-3-color);
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.option4 {
    border-color: var(--option-4-color);
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor {
    padding: 8px 12px;
    border-color: #a19e9e;
    background: #b7b3b3;
    color: #fff;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor dt {
    margin-bottom: 0;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor dt span.time {
    background: #9b9b9b;
    border: none;
    font-weight: 500;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor dd {
    height: 0;
    overflow: hidden;
    padding: 0 0 0 6px; 
    transition: all 0.5s ease-in-out;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor dd {
    display: flex;
    align-items: end; 
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor dd span {
    display: block;
    padding: 2px 4px;
    margin-right: 6px;
    background: #fff;
    color: #9b9b9b;
    border-radius: 4px;
    font-size: 14px;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor.active dd {
    height: 60px;
    padding: 0 0 6px 6px;      
    transition: all 0.5s ease-in-out; 
    word-break: keep-all;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl dt {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl dd {
    font-size: 15px;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl dt img {
    margin-right: 4px;
    width: 20px;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor dt img {
    margin-right: 8px;
}

.lawyer_reserv_wrap .lawyer_reserv_element dl dt span {
    padding: 4px 5px;
    font-weight: 900;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    margin-left: auto;
}


/*scroll*/
.lawyer_reserv_element .scroll_wrap {
    position: relative;
    padding: 12px 12px 36px 12px;
    height: 368px;
    background: #f8f8f8;
}

.lawyer_reserv_element .scroll_wrap .scroll {
    padding: 0 0 40px 0;
    margin: 0 2px;
    overflow-y: auto;
    max-height: 320px;
}

.lawyer_reserv_element .scroll_wrap .scroll::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.lawyer_reserv_element .scroll_wrap .scroll::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 5px;
}

.lawyer_reserv_element .scroll_wrap .scroll::-webkit-scrollbar-thumb {
    background: #d2d2d2;
    border-radius: 5px;
    height: 10%;
}

.lawyer_reserv_element .scroll_wrap .scroll::-webkit-scrollbar-thumb:hover {
    background: #d2d2d2;
}

/* scroll animation */
.scroll_arrow_container {
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 0 0 10px 0;
    position: absolute;
    bottom: 16px;
    width: 90%;
    height: 40px;
    background: linear-gradient(180deg, rgba(217, 217, 217, 0), rgba(234, 234, 234, 0.6) 40%, #F8F8F8 70%);
}

.scroll_arrow_container .scroll_arrow_wrap {
    display: block; 
    opacity: 1;    
    transition: opacity 0.3s ease; 
}

.scroll_arrow_container .scroll_arrow_wrap.hidden {
    opacity: 0; 
    pointer-events: none; 
}

.scroll_arrow_container .scroll_arrow_wrap .scroll_arrow {
    width: 10px;  /* 화살표의 크기 */
    height: 10px;
    transform: rotate(45deg);  /* 화살표를 45도 회전 */
    border-right: 2px solid #000;  /* 오른쪽 선을 그려서 화살표 모양 */
    border-bottom: 2px solid #000; /* 아래쪽 선을 그려서 화살표 모양 */
    
    /* 화살표가 깜빡이는 애니메이션 */
    animation: arrow-wave 1s infinite;
    animation-direction: alternate;
    margin: 0 auto;
  }
  
  /* 화살표 1, 2, 3 각각의 애니메이션 지연 시간 설정 */
  .scroll_arrow_container .scroll_arrow_wrap .scroll_arrow:nth-child(1) {
    position: absolute;
    bottom: 6px;
    animation-delay: 0.1s;
  }
  .scroll_arrow_container .scroll_arrow_wrap .scroll_arrow:nth-child(2) {
    position: absolute;
    bottom: 0px;
    animation-delay: 0.2s;
  }
  
  /* 깜빡이는 애니메이션 정의 */
  @keyframes arrow-wave {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 0.5;
    }
    100% {
      opacity: 1;
    }
  }










@media (max-width:1650px) {
    .w_inner {
        padding: 0 30px;
    }

    .admin_contents_top,
    .admin_check_res_top,
    .admin_legal_w {
        padding: 100px 30px 30px 30px;
    }

    .admin_legal_w {
        padding: 0px 30px 30px 30px;
    }

    .contents_wrap {
        padding: 0px 30px 0px 30px;
    }

    .res_tab_01,
    .res_tab_01_01 {
        padding: 30px;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl dt {
        flex-wrap: wrap;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl dt img {
        margin-right: 8px;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl dt {
        display: grid;
        grid-template-columns: 26px 1fr;
        margin-bottom: 16px;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl dt span {
        margin: 6px 0 0 0;
        width: 56px;
        text-align: center;
        grid-column: 1 / -1;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor dt {
        flex-wrap: wrap;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor dd {
        margin: 0 0 4px 0;
        flex-direction: column;
        justify-content: end;
        align-items: start;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor dd span {
        margin-bottom: 6px;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor.active dd {
        height: 72px;
    }

}

@media (max-width:1440px) {
    .img_login_text {
        display: none;
    }

    .header h1 span .forMobile img {
        width: 33px !important;
        height: 36px;
    }

    .res_wrap {
        display: block !important;
    }

    .schedule_table_w {
        width: 100% !important;
    }

    .reservaion_list_w {
        height: 280px;
        margin-right: 30px;
    }

    .schedule_w {
        display: flex;
        min-width: 500px;
        padding-left: 0;
        margin-top: 30px;

    }

    .schedule_w>div:nth-child(2) {
        width: 100%;
        margin-top: -5px;
    }

    .schedule_w>div:nth-child(2)>div {
        width: 100%;
    }
}

@media (max-width:1280px) {   

}

@media (max-width:1200px) {   
    .reserv_view_tab li {
        width: 48px;
        height: 48px;
    }

    .reserv_sort_wrap {
        flex-direction: column;
    }

    .reserv_view_tab {
        top: -60px;
    }

    .reserv_view_tab li {
        width: 48px;
        height: 48px;
    }

    .reserv_sort {
        order: 2;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .reserv_sort li {
        min-width: unset;
        width: 50%;
        justify-content: center;
    }

    .reserv_sort li span {
        font-size: 18px;
    }

    .reserv_sort li img {
        display: none;
    }
}

@media (max-width:1100px) {
    .law_add_con_w .select_area {
        display: block;
    }

    .law_add_con_w.section {
        display: block;
    }

    .law_add_con_w .item.court div , .law_add_con_w .item.short div {
        width: 10%;
        min-width: auto;
    }
    .law_add_con_w .item.court input {
        width: 100%;
        min-width: auto;
    }
    .law_add_con_w .item.short div {
        white-space: nowrap;
        margin-right: 0px;
        font-size: clamp(14px, 4vw, 20px);
    }
    .select_area .select {
        margin-right: 0px;
    }
    .law_add_con_w.section .item{
        margin-bottom: 30px;
    }

    .lawyer_reserv_wrap {
        flex-wrap: wrap;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element {
        margin: 0 0.831% 0;
        width: 31.671%;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl dt span {
        grid-column: none;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor dt span.time {
        margin: 4px 0 0 auto;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.am,
    .lawyer_reserv_wrap .lawyer_reserv_element.pm {
        margin-top: 32px;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer1.am {
        order: 1;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer2.am {
        order: 2;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer3.am {
        order: 3;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer4.am {
        order: 7;
    }   

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer5.am {
        order: 8;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer1.pm {
        order: 4;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer2.pm {
        order: 5;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer3.pm {
        order: 6;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer4.pm {
        order: 10;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer5.pm {
        order: 11;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer5.am.dummy {
        order: 9;
        display:block;
        opacity: 0;
    }

}

@media (max-width:960px) {
}


@media (max-width:800px) {
    .lawyer_reserv_wrap .lawyer_reserv_element dl dt span {
        grid-column: -1 / 1;
        margin: 6px 0 0 0;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl.reserv_accor dt span.time {
        margin: 6px 0 0 0;
    }
}


@media (max-width:767px) {
    .forMobile_login {
        display: block;
    }

    .forMobile_login img {
        display: block;
        width: 33px;
    }

    .modal_wrap_m {
        width: 400px;
        padding: 0px 13px 20px 13px;
    }
    .top_fixed_w {
        padding-left: 85px !important;
    }
    .top_fixed_w .top_fixed{
        width: 30% !important;
    }
    .datepicker>input {
        width: 100%;
    }

    .icon_date {
        left: inherit;
        right: 0;
        cursor: pointer;
        margin: 12px;
        /* margin-left: 25%; */
    }

    .top01 {
        padding-bottom: 0px !important;
    }

    .top02 {
        padding-top: 0px !important;
    }

    .top01 div,
    .top02 div,
    .top01,
    .top02 {
        display: block;
        text-align: start;
        font-size: 15px;
        padding: 3px;
    }

    .modal_case_con {
        padding: 10px 15px;
        font-size: 14px !important;
        margin-top: 15px;
    }

    .modal_case_reply {
        padding: 10px 15px;
        margin-top: 15px;
    }

    .news_d_con_img {
        width: 200px;
        height: 150px;
    }

    .modal_qna_add_w>.select_w {
        display: block;
        text-align: start;
    }

    .top_fixed::before {
        margin-left: 0px;
    }

    .reserv_tab_1_2 p {
        width: 100%;
        text-align: center;
    }

    .reserv_tabmenu li {
        width: 200px;
        font-size: 18px;
    }

    .lawyer_reserv_wrap {
        margin-bottom: 80px;
    }

    .reserv_calendar .date .ui-datepicker-current {
        width: 60px;
    }
}

@media (max-width:640px) {
    .law_add_con_w {
        display: block;
    }

    .law_add_con_w>div:first-child {
        margin-bottom: 10px;
        width: 100%;
    }

    .law_detail_title {
        font-size: 16px !important;
        padding: 10px 20px;
        word-break: break-all;
    }

    .law_detail_con {
        font-size: 14px !important;
        padding: 10px 20px;
        word-break: break-all;
    }

    .admin_contents_top {
        display: block;
    }
    .law_add_con_w.section .item{
        display: block;
    }
    .law_add_con_w.section .item div{
        margin-bottom: 10px;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element {
        width: 47.333%;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer1.am {
        order: 1;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer2.am {
        order: 2;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer3.am {
        order:  5;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer4.am {
        order:  6;
    }   

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer5.am {
        order:  9;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer1.pm {
        order:  3;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer2.pm {
        order:  4;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer3.pm {
        order:  7;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer4.pm {
        order:  8;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer5.pm {
        order:  11;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer5.am.dummy {
        order: 10;
        display:block;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element h4 {
        margin: 32px 0 20px;
    }

}

@media (max-width:500px) {
    .login_w {
        max-width: 300px;
        right: 5%;
    }

    .modal_wrap_m {
        width: 300px;
    }
    .top_fixed_w {
        padding-left: 20px !important;
    }
    .top_fixed_w .top_fixed {
        width: 40% !important;
        margin-bottom: 10px !important;
    }
    .modal_wrap_s {
        width: 230px;
    }

    .scroll {
        max-height: 200px !important;
    }

    .modal_title {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px
    }

    .modal_wrap_m div:nth-child(4) {
        font-size: 13px;
        line-height: 20px;
    }

    .modal_s_content>div {
        text-align: start;
        font-size: 12px;
        line-height: 20px;
    }

    .modal_wrap_m>div:last-child {
        margin-top: 20px;
    }

    .admin_contents_top input {
        width: 200px;
    }

    .admin_contents_top>div {
        margin-bottom: 10px;
    }

    .res_tab button:first-child {
        margin-right: 0;
    }

    .admin_contents_top>div:first-child {
        display: block;
    }

    .qna_select {
        margin-bottom: 10px;
    }

    .reserv_tabmenu li {
        width: 140px;
        font-size: 16px;
    }

    .reserv_calendar h3 {
        margin: 0 5% 0;
        font-size: 24px;
    } 

    .reserv_calendar button {
        width: 28px;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element > div {
        min-height: 350px;
    }

    .lawyer_reserv_element .scroll_wrap .scroll {
        min-height: 340px !important;
    }
}

@media (max-width:480px) {
    .reserv_view_tab {
        top: -50px;
    }

    .reserv_view_tab li {
        width: 40px;
        height: 40px;
    }

    .reserv_sort li {
        padding: 10px 0;
        width: 100%;        
    }

    .reserv_sort li span {
        font-size: 16px;
    }

    .admin_timetable_top,
    .admin_timetable_top > div {
        width: 100%;
    }

    .admin_timetable_top input {
        width: 100%;
    }

    .reserv_tab_1_2 p {
        font-size: 18px;
    }
}


@media (max-width:400px) {
    .lawyer_reserv_wrap .lawyer_reserv_element {
        margin: 0;
        width: 100%;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element dl dt span {
        grid-column: none;
    }

    .lawyer_reserv_wrap .lawyer_reserv_element.am,
    .lawyer_reserv_wrap .lawyer_reserv_element.pm {
        order: inherit !important;
        margin-top: 20px;
    } 

    .lawyer_reserv_wrap .lawyer_reserv_element.lawyer5.am.dummy {
        display: none;
    }

    .lawyer_reserv_element .scroll_wrap .scroll {
        min-height: 330px !important;
    }

    .scroll_arrow_container {
        width: 93%;
    }
}

@media (max-width:360px) {
    .select_area .select>.sel_wide {
        min-width: 100px;
    }
}