
/* =========================================================
   YEOSUNET AI ESTIMATE - SITE COMMON STYLE
   Blocksy
   ========================================================= */


/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

#header {
    background: #ffffff;
}

/* Header 내부 최대폭 */
#header [data-row] > div {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 사이트명 */
#header .site-title {
    font-weight: 800;
    letter-spacing: -0.04em;
}

/* 메뉴 */
#header .menu > li > a {
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* 메뉴 hover */
#header .menu > li > a:hover {
    opacity: 0.72;
}


/* ---------------------------------------------------------
   PAGE
--------------------------------------------------------- */

/* 페이지 콘텐츠 */
.site-main {
    box-sizing: border-box;
}

/* 견적/예약 페이지 최대폭 */
body:not(.home) .site-main > article {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

#footer {
    margin-top: 0;
}

#footer [data-row] > div {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1240px) {

    #header [data-row] > div,
    #footer [data-row] > div {
        width: calc(100% - 40px);
    }

}


@media (max-width: 767px) {

    #header [data-row] > div,
    #footer [data-row] > div {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    #header .site-title {
        font-size: 20px;
    }

}

/* =========================================================
   YSAE BLOCKSY SERVICE PAGES V1
   간편견적 / 방문예약
   ========================================================= */


/* ---------------------------------------------------------
   Blocksy 페이지 기본 제목 제거
   숏코드 자체 제목을 사용한다.
--------------------------------------------------------- */

body.page-id-10 .hero-section,
body.page-id-10 .page-title,
body.page-id-10 .entry-header,

body.page-id-15 .hero-section,
body.page-id-15 .page-title,
body.page-id-15 .entry-header {
    display: none !important;
}


/* ---------------------------------------------------------
   페이지 전체 영역
--------------------------------------------------------- */

body.page-id-10 .site-main,
body.page-id-15 .site-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


body.page-id-10 .content-area,
body.page-id-15 .content-area {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* ---------------------------------------------------------
   Blocksy article / entry-content 폭 제한 해제

   실제 폼 폭은 각각
   estimate-form.css 820px
   visit-booking.css 680px
   에서 관리한다.
--------------------------------------------------------- */

body.page-id-10 .site-main > article,
body.page-id-15 .site-main > article {
    width: 100% !important;
    max-width: 1200px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


body.page-id-10 .entry-content,
body.page-id-15 .entry-content {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* ---------------------------------------------------------
   간편 견적
--------------------------------------------------------- */

body.page-id-10 .ysae-estimate-wrap {
    margin-top: 56px;
    margin-bottom: 80px;
}


/* ---------------------------------------------------------
   방문예약
--------------------------------------------------------- */

body.page-id-15 .ysae-booking {
    margin-top: 56px;
    margin-bottom: 80px;
}


/* ---------------------------------------------------------
   모바일
--------------------------------------------------------- */

@media (max-width: 767px) {

    body.page-id-10 .site-main > article,
    body.page-id-15 .site-main > article {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.page-id-10 .ysae-estimate-wrap {
        margin-top: 24px;
        margin-bottom: 48px;
    }

    body.page-id-15 .ysae-booking {
        margin-top: 24px;
        margin-bottom: 48px;
    }

}



/* ==================================================
   CUSTOMER PORTAL / PAGE 27
   Hide Blocksy page title only
================================================== */

body.page-id-27 .hero-section {
    display: none;
}

