﻿/* apply a natural box layout model to all elements */

html {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: inherit;
}

html {
    color: #333;
    font-family: Roboto,sans-serif;
    font-size: 14px;
    line-height: 1.4em;
    text-align: left;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -webkit-text-size-adjust: none;
}

/* #478f57 = rgb(51,153,102) */

/* The background picture is fixed and 
    centered on the page, 100% width, and 
    does not scroll. The background picture 
    can be swapped out, but be sure to 
    grade it to the background color so 
    that the bottom resolves neatly. */

body {
    background-attachment: fixed;
    background-color: #efefef;
    background-image: url(/Assets/Persistent+Assets/Site+Images/apta-background.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    margin: 0;
    padding: 0;
}

p {
    line-height: 1.4em;
}

img {
    vertical-align: middle;
}

a {
    color: #228b22;
}

    a:hover, a:focus {
        color: #228b22;
        text-decoration: underline;
    }

ul, ul ul, ol, ol ul {
    line-height: 1.4em;
}

h1 {
    color: #2b4564;
    font-family: "Roboto Condensed",sans-serif;
    font-size: 34px;
    font-weight: bold;
    line-height: 1.2em;
    margin: 0;
    padding-bottom: 10px;
    padding-left: 10px;
}

h2 {
    font-size: 20px;
    font-weight: normal;
    line-height: 1.2em;
    margin: 10px 0;
    padding: 0;
}

    h2.viewall {
        text-align: center;
    }

h3 {
    font-size: 18px;
    font-weight: normal;
    line-height: 1.2em;
    margin: 0;
    padding: 10px 0 0 0;
    font-style: italic;
}

    h3.viewall {
        text-align: center;
    }

h4 {
    font-size: 20px;
    font-weight: normal;
    line-height: 1.2em;
    margin: 0;
    padding: 0;
}

h5 {
    font-family: "Roboto Condensed",sans-serif;
    font-size: 20px;
    font-weight: normal;
    line-height: 3em;
    margin: 0;
    padding: 0 0 0 20px;
    text-align: left;
}

    h5.center {
        text-align: center;
        padding-left: 0px;
    }

h6 {
    font-size: 16px;
    font-weight: normal;
    line-height: 2em;
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    font-size: 1rem;
    margin: 0;
    padding: 0;
}

th, td {
    padding: 2px;
}

.clearfix {
    overflow: auto;
}

/* Main: immediately underneath body tag, establishes minimum page width */

#main {
    width: 100%;
    min-width: 970px; /* needed to stretch past smaller mobile screen size */
}

/* Interior sections with identical width sizing */

.contain-width {
    margin: 0 auto !important;
    width: 100%;
    max-width: 1280px;
    min-width: 970px;
}

/* Header sections: on all pages */

#above-header {
    color: #333333;
    display: block;
    font-family: Roboto,sans-serif; 
    font-size: 12px;
    line-height: 24px;
    text-align: center;
    width: 100%;
}

    #above-header ul,
    #above-header ul ul,
    #above-header ol,
    #above-header ol ul {
        font-size: 12px;
        line-height: 24px;
        list-style: none;
        margin: 0;
    }

#header-wrap {
    box-shadow: 0 0 5px 3px rgba(160,160,160,0.5);
}

#header {
    background-color: #fff;
    padding-bottom: 10px;
}

    #header ul,
    #header ul ul,
    #header ol,
    #header ol ul {
        font-size: 12px;
        list-style: none;
        margin: 0;
    }

#inner-header {
    padding: 5px 10px;
    text-align: right;
}
a.ipf-PageSearch-AdvancedHyperlink {
    display: block;
}
#breadcrumbs {
    background-color: #fff;
    font-family: Roboto,sans-serif; /*Helvetica,Arial,sans-serif;*/
    font-size: 12px;
    line-height: 2.5em;
    text-align: left;
}

    #breadcrumbs .contain-width {
        padding-left: 20px;
    }

    #breadcrumbs a {
        text-decoration: none;
    }

        #breadcrumbs a:hover, #breadcrumbs a:focus {
            text-decoration: underline;
        }

.headercontent {
    display: inline-block;
    height: 60px;
    padding-top: 4px;
    /*height: 70px;*/
}

    .headercontent.right {
        float: right;
        padding-top: 22px;
    }

    .headercontent.left {
        float: left;
        padding-left: 10px;
    }

    .headercontent.left2 {
        float: left;
        font-size: 24px;
        font-weight: normal;
        line-height: 1.2em;
        margin: 0;
        padding: 30px 0 0 20px;
        text-align: left;
    }

    .headercontent.center {
        display: inline-block;
        margin-right: 40px;
        text-align: center;
    }

/* main content wrapper */

#midbox {
    width: 100%;
}
/* Main content  */

#content {
    padding: 0;
}
#content-padding {
    padding: 30px 20px 20px 20px;
}
#content-padding-title {
    padding: 30px 20px 0px 20px;
}
#content #contentfull.withcontentbg {
    background-color: #fff;
    overflow: auto;
    padding: 20px 20px 10px 20px;
}
#content #home-container {
    padding: 30px 10px 10px 10px;
}
#content #home-container #home-right-container {
    float: right;
    width: 30%;
}
#content #home-container #home-left-container {
    display: inline-block;
    float: left;
    width: 70%;
}
.home-right-color {
    background-color: #fff;
    display: block;
    margin-bottom: 5px;
    padding: 0 0 5px 0;
    width: 100%;
}
.home-right-plain {
    background-color: transparent;
    display: block;
    margin-bottom: 18px;
    width: 100%;
}

.ad-block-title {
    display: block;
    text-align: right;
    padding: 10px 10px 0 0;
    font-size: 14px;
}

#pagelet-sponsor-content, #pagelet-ads-content {
    background-color: #fff;
    display: block;
    margin-bottom: 20px;
    padding: 0 0 5px 0;
    width: 100%;
}

#pre-footer, #post-footer {
    background-color: #dae8dd;
    clear: both;
    display: block;
    text-align: center;
    width: 100%;
}

#pre-footer-content, #post-footer-content {
    background-color: #dae8dd;
    padding: 20px;
}

#footer {
    background-color: #fff;
    clear: both;
    display: block;
    font-size: 14px;
    text-align: center;
    width: 100%;
}

#footer-content {
    background-color: #fff;
    padding: 10px 0px;
}

    #footer-content h5 {
        text-align: center;
    }
