@media screen and (min-width: 0) and (max-width: 320px) {
    .login .inner {width: 95%;}
    h2 .title {font-size: 1.2rem;}
    .activity_list_wrap li {
        width: 100%;
    }
    .activity_list_wrap li a {font-size: 1rem;}
    .input_label {font-size: 0.9rem;}
    .btn_sub {padding: 16px;}
    input::placeholder {font-size: 0.9rem;}
    .duplicate_check {
        width: 35%;
        padding: 0;
        font-size: 0.9rem;
        line-height: 50px;
    }
    .popup {padding: 20px;}
    .activity_info .use_energy li select {width: 70px;}
    .carbonbudget_selected_wrap li a {
        height: 80px;
        vertical-align: middle;
    }
    .statistics_selected_wrap li a {
        border: none;
    }
    .statistics_selected_wrap li {
        border: 1px solid #bbb;
    }
    .statistics_selected_wrap li.active {
        background: #333 ;
    }
    
    .statistics_selected_wrap li:first-child {
        border-radius: 4px 0 0 4px;
    }
    .statistics_selected_wrap li:last-child {
        border-radius: 0 4px 4px 0;
    }
    .summary_bubble {
        width: 95%;
    }
    .statistics_summary .df:not(.btn_wrap) {
        flex-direction: column;
    }
    .statistics_summary .summary_bchu img {
        width: 70%;
        margin: auto;
    }
    
    .tree_loca_popup .loca_search .input_wrap input[type="text"] {
        width: 70%;
    }
    .tree_loca_popup .loca_search .btn_sub {
        padding: 18px 12px;
        font-size: 0.9rem;
    }
    .tree_loca_popup .popup_scroll_wrap {
        height: 200px;
    }
    .tree_loca_popup .popup_scroll_wrap ul li:first-child {
        font-size: 1rem;
    }
    .tree_loca_popup .popup_scroll_wrap ul li:not(:first-child) {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}


@media screen and (min-width: 321px) and (max-width: 600px) {
    .login .inner {width: 90%;}
    h2 .title {font-size: 1.4rem;}
    .activity_list_wrap li {
        width: 95%;
    }
    .activity_list_wrap li a {font-size: 1.1rem;}
    .carbonbudget_selected_wrap li a {font-size: 0.9rem;}

    .duplicate_check {
        padding: 6px 8px;
        line-height: 40px;
        font-size: 0.9rem;
    }
    /* 팝업 */
    .popup {
        width: 90%;
        max-height: 90%;
        /* transform: translate(-50%, -45%); */
    }
    .popup_scroll_wrap {
        min-height: 50vh;
        max-height: 55vh;
        overflow-y: auto;
        padding-bottom: 40px;
    }
    .popup_title strong {
        display: block;
        font-size: 1.2rem;
    }
    .popup_con_img_wrap {
        display: flex;
        justify-content: center;
        overflow: hidden;
    }
    .popup_con_wrap {
        font-size: 1rem;
    }
    table th, table td {
        padding: 8px;
        font-size: 0.9rem;
    }
    .image_preview img {
        width: 320px;
    }
    .map {
        height: 400px;
    }
    .tree_more_info th {
        width: 40%;
    }

    .tooltip_wrap .tooltip_img {
        width: 100%;
        display: block;
        margin-bottom: 12px;
    }
    .tooltip_wrap p {
        width: 100%;
    }
    
    .tooltip_img_popup .popup_scroll_wrap {
        height: 0;
        padding-bottom: 0;
    }
    
    .statistics_gage_list_wrap {
        flex-direction: column;
        justify-content: center;
    }
    .statistics_gage_list_wrap .statistics_gage_list { 
        width: 100%;
        margin: 0;
    }

    .statistics_selected_wrap li span {
        font-size: 0.7rem;
    }
    .statistics_list_7 .statistics_summary .df:not(.btn_wrap){
        flex-direction: column;
        margin-bottom: 30px;
    }
    .summary_bubble {
        width: 100%;
    }
    .statistics_summary .summary_bchu img {
        margin: auto;
        width: 60%;
    }

    
    /* 나무 범례 */
    .popup_tree_legend .popup_title {
        margin-bottom: 8px;
    }
    .popup_tree_legend {
        display: none;
        z-index: 102;
        background: rgba(255,255,255,0.9);
        box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
        padding: 10px;
        width: 100%;
        border-radius: 4px;
        position: absolute;
        left: 50%; top: 0;; transform: translate(-50%, -50%);
    }
    .tree_legend {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .tree_legend li {
        width: calc(100% / 4);
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .tree_legend li img {
        margin: auto;
        width: 50%;
    }
    .tree_legend li p {
        font-size: 0.8rem;
        margin: 10px 0;
    }

    .tree_loca_popup .loca_search .input_wrap input[type="text"] {
        width: 70%;
    }
    .tree_loca_popup .popup_scroll_wrap {
        height: 35vh;
    }
    .tree_loca_popup .popup_scroll_wrap ul li:first-child {
        font-size: 1rem;
    }
    .tree_loca_popup .popup_scroll_wrap ul li:not(:first-child) {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    .map_btn_category_wrap li {
        width: 100px;
    }
    
    .tree_list_popup .btn_wrap a {font-size: 80%;}
        
}

@media screen and (min-width: 601px) and (max-width: 1023px) {
    .login .inner {width: 70%;}
    h2 .title {font-size: 1.6rem;}
    .popup {
        width: 85%;
    }
    .popup_scroll_wrap {
        min-height: 50vh;
        max-height: 60vh;
    }
    .tree_more_info th {
        width: 25%;
    }
    .statistics_gage_list_wrap {
        flex-direction: column;
        justify-content: center;
    }
    .statistics_gage_list {
        width: 100%;
    }    
    .statistics_gage_list_wrap {
        flex-direction: row;
        justify-content: center;
    }
    .statistics_gage_list_wrap .statistics_gage_list { 
        width: 100%;
        margin: 0 12px;
    }
    
    .popup_tree_legend {
        width: 65%;
    }
    
    .summary_bubble {
        width: 55%;
    }
    .statistics_summary .summary_bchu img {
        width: 35%;
    }
    
    .map_btn_category_wrap li {
        width: 160px;
        padding: 8px;
    }
}