/* Hingham Nursery inner page styles (from live inner-page template CSS) */

body.hingham-page #content_holder {
    margin-top: 15px;
    background: #fff;
    padding: 10px 24px 30px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    overflow-x: hidden;
    width: 940px;
}

body.hingham-page #content_holder.container {
    width: 940px;
}

body.hingham-page #content {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 14px;
    color: #333;
}

/* Nested skeleton .container must not expand to 960px inside the content area. */
body.hingham-page #content.container {
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: 100%;
}

body.hingham-page .ContentPageHeader {
    font-size: 48px;
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    color: #246338;
    text-transform: uppercase;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 12px;
}

body.hingham-page #holder {
    margin-top: 15px;
    overflow: hidden;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 940px;
}

body.hingham-page #holder::after {
    clear: both;
    content: "";
    display: table;
}

body.hingham-page #right_blocks {
    float: right;
    margin-right: 10px;
    text-align: center;
    width: 460px;
    max-width: 100%;
    box-sizing: border-box;
}

body.hingham-page #content_main_img {
    float: left;
    width: 460px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Nested .container rows must not inherit the 960px skeleton width. */
body.hingham-page #right_blocks > .container,
body.hingham-page #new_row1,
body.hingham-page #new_row2 {
    width: 460px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    box-sizing: border-box;
}

body.hingham-page #new_row1 {
    margin-top: 0;
}

body.hingham-page #new_row2 {
    margin-top: 15px;
}

body.hingham-page #content_main_img img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

body.hingham-page #right_blocks #new_row1 .one.columns,
body.hingham-page #right_blocks #new_row2 .one.columns {
    width: 220px;
    box-sizing: border-box;
}

@media only screen and (min-width: 960px) {
    body.hingham-page #holder {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: space-between;
    }

    body.hingham-page #content_main_img,
    body.hingham-page #right_blocks {
        float: none !important;
        flex: 0 0 460px;
        width: 460px !important;
        max-width: calc(50% - 10px);
    }

    body.hingham-page #right_blocks > .container,
    body.hingham-page #new_row1,
    body.hingham-page #new_row2 {
        width: 100% !important;
        max-width: 460px;
    }
}

body.hingham-page #snapshot,
body.hingham-page #find_us,
body.hingham-page #services {
    height: 220px;
    width: 220px;
    display: block;
    box-sizing: border-box;
}

body.hingham-page #snapshot {
    background: url(../images/layout/content_hover1.png) no-repeat;
}

body.hingham-page #find_us {
    background: url(../images/layout/content_hover2.png) no-repeat;
}

body.hingham-page #services {
    background: url(../images/layout/content_hover3.png) no-repeat;
}

body.hingham-page #snapshot_content,
body.hingham-page #findus_content,
body.hingham-page #services_content {
    text-align: center;
    margin-top: 50px;
    color: #fff !important;
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 15px;
    font-weight: 700;
    width: 220px;
    max-width: 100%;
    box-sizing: border-box;
}

body.hingham-page #snapshot_content p,
body.hingham-page #snapshot_content font,
body.hingham-page #snapshot_content div,
body.hingham-page #services_content p,
body.hingham-page #services_content span,
body.hingham-page #services_content div,
body.hingham-page #services_content a,
body.hingham-page #findus_content p,
body.hingham-page #findus_content span {
    color: #fff !important;
}

body.hingham-page #findus_content a {
    color: #fff !important;
    text-decoration: underline;
}

body.hingham-page #pic img {
    width: 220px;
    height: 220px;
    display: block;
    object-fit: cover;
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    body.hingham-page #content_main_img {
        float: none;
        width: 100%;
    }

    body.hingham-page #right_blocks {
        float: left;
        margin-right: 0;
        width: 100%;
    }

    body.hingham-page #new_row1,
    body.hingham-page #new_row2 {
        margin-left: 146px;
        width: 60%;
    }
}

@media only screen and (max-width: 959px) {
    body.hingham-page #holder {
        display: block;
    }

    body.hingham-page #holder,
    body.hingham-page #content_holder,
    body.hingham-page #content_holder.container {
        width: 100%;
    }

    body.hingham-page #content_main_img,
    body.hingham-page #right_blocks {
        float: none !important;
        width: 100% !important;
    }

    body.hingham-page #new_row1,
    body.hingham-page #new_row2 {
        margin-left: 0;
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    body.hingham-page #pic img {
        width: 220px;
        max-width: 100%;
        height: auto;
        margin: 0 auto 15px;
    }
}
