@charset "utf-8";

/*
 * 주소모음 Responsive Core
 * GNUBOARD basic theme의 Desktop 고정폭 규칙을 작은 화면에서만 해제한다.
 * 관리자 페이지에는 적용되지 않고 theme/basic Frontend에서만 로드된다.
 */

html,
body {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    html,
    body {
        min-width: 0 !important;
        overflow-x: hidden;
    }

    #hd,
    #wrapper,
    #ft,
    #container_wr,
    #container {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #wrapper {
        overflow: visible;
    }

    #container_wr {
        margin: 0 !important;
    }

    #container {
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 관리자용 내용 수정 Floating 버튼은 모바일 콘텐츠를 가리지 않도록 작게 유지 */
    .ctt_admin {
        right: 10px !important;
        top: 70px !important;
    }
}
