@import url('../../Default/Css/Default.css');

/* ############################################################################
   ## 
   ##  OneCol1
   ##
   ############################################################################ 

   | Header                               |
   |______________________________________|
   | SubHeader                            |
   |______________________________________|
   | PageTop                              | (TrailNav, PageFunctions)
   |______________________________________|
   |                                      |
   | Primary                              |
   |                                      |
   |______________________________________|
   | Secondary                            |
   |______________________________________|
   | PageBottom                           | (PageFunctions)
   |______________________________________|
   | Footer                               |
   |                                      |
   
    <TemplateWrapper>
        <Template>
            <AccessibilityToolbar />
            <Header />
            <SubHeader />
            <Content>
                <Page>
                    <PageTop>
                        <TrailNav />
                        <PageFunctionsTop />
                    </PageTop>
                    <PageContent>
                        <Primary />
                        <Secondary />
                    </PageContent>
                    <PageBottom>
                        <PageFunctionsBottom />
                    </PageBottom>
                </Page>
                <Tertiary />
            </Content>
            <Footer />
        </Template>
    </TemplateWrapper>
*/

/* ############################################################################
   ## 
   ##  Custom Design Options
   ##  ADD/CHANGE RULES HERE.
   ##
   ##  - Note that some rules are overridden by fixed design elements below.
   ##
   ######################################################################### */

#Page {
    margin-bottom: 60px;
}

    #PageTop {
    }

        #TrailNav {
            padding-left: 0;
        }

    #Page #PageContent {
    }
    
        #Page #PageContent #Primary {
        }

            #Page #PageContent #Primary #PrimaryContent {
            }

        #Page #PageContent #Secondary {
            position: relative;
            clear: both;
        }

            #Page #PageContent #Secondary #SecondaryContent {
                margin: 60px -10000em -70px;
                padding: 60px 10000em;
                /*border-top: #c0ab77 3px solid;*/
                background: #efeadd;
            }

    #PageBottom {
        clear: both;
    }

/* ############################################################################
   ## 
   ##  Fixed 1 Column Design Elements
   ##  DON'T CHANGE.
   ##
   ##  - position: relative; makes sure other stuff always works.
   ##  - float with width ensures consistent layout in all browsers, and matches all our other templates.
   ##  - width: 100%; on all parent divs of main content ensures content fills the screen, which is best for most designs.
   ##  - box-sizing: border-box; just in case padding/borders are added in other parts of this file.
   ##
   ######################################################################### */

#PageContainer {
    position: relative;
    text-align: center;
}

#Content {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 45px 30px;
    text-align: left;
}

    #Page #PageContent {
        position: relative;
        float: left;
        box-sizing: border-box;
        width: 100%;
    }

#Tertiary {
    display: none;
}

/* ############################################################################
   ## 
   ##  Layout for Different Screen Sizes
   ##
   ##  Be sure to co-ordinate these layouts with the responsive sizes used in all templates in the site, or you'll run into trouble.
   ##
   ######################################################################### */

@media screen and (max-width: 1200px) {

    #Content {
        margin-top: 45px;
    }

}

@media screen and (max-width: 1024px) {

    #Content {
        margin-top: 30px;
    }

    #Page #PageContent {
        float: none;
    }

        #Page #PageContent #Secondary #SecondaryContent {
            /*margin-bottom: -120px !important;*/
        }

}

@media screen and (max-width: 600px) {

    #Content {
        padding: 0 15px;
    }

}
