﻿/* Width < 1280 */
@media (max-width: 1332px) {
    body {
        background-image: none;
        background-color: #fff;
    }

    #Page,
    #PrimaryNavigation,
    #PageHeader,
    #FooterNavigation,
    #Footer,
    #ContentContainer,
    .centerContainer {
        max-width: none;
        width: auto;
    }

    #Header #HeaderContainer,
    #PrimaryNavigationContainer,
    #ContentContainer,
    #FooterNavigationContainer,
    #FooterContainer {
        box-sizing: border-box;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    #SearchContainer {
        position: absolute;
        top: 62px;
        right: 20px;
    }

    .centerContainer {
        padding: 0;
    }

    .HomeBanner ul li .HomeBannerSlide {
        padding-left: 20px;
    }
}

/* Large */
@media (min-width: 1200px) {
}

/* Medium */
@media (min-width: 992px) and (max-width: 1199px) {
}

/* Small */
@media (min-width: 768px) and (max-width: 991px) {
}

/* Extra Small */
@media (max-width: 767px) {
    #Header {
        height: auto;
    }

        #Header #HeaderContainer {
            padding: 10px;
            height: auto;
        }

            #Header #HeaderContainer #logo {
                margin: 0;
            }

                #Header #HeaderContainer #logo,
                #Header #HeaderContainer #logo a {
                    float: none;
                    margin-bottom: -35px;
                    width: 100%;
                    height: auto;
                }

                    #Header #HeaderContainer #logo a,
                    #Header #HeaderContainer #logo a img {
                        width: 100%;
                    }

            #Header #HeaderContainer #SearchContainer {
                position: relative;
                top: 50px;
                right: -39px;
                width: calc(100% - 37px);
            }

                #Header #HeaderContainer #SearchContainer .SearchForm {
                    float: none;
                    width: 100%;
                    display: inline-block;
                }

                #Header #HeaderContainer #SearchContainer .SearchBox {
                    width: calc(100% - 100px);
                    float: none;
                    display: inline-block;
                    vertical-align: middle;
                    border-color: #38566D;
                }

                #Header #HeaderContainer #SearchContainer #SearchButtonReal {
                    float: none;
                    display: inline-block;
                    vertical-align: middle;
                }

                    #Header #HeaderContainer #SearchContainer #SearchButtonReal.Visible {
                        display: inline-block !important;
                    }

                #Header #HeaderContainer #SearchContainer ul {
                    width: calc(100% - 80px) !important;
                    border: solid 1px #38566D !important;
                    border-top: none !important;
                }

                    #Header #HeaderContainer #SearchContainer ul li {
                        width: auto;
                    }

            #Header #HeaderContainer #PageHeaderButtons {
                display: none;
            }

    #PrimaryNavigation {
        min-height: 55px;
        height: auto;
    }

        #PrimaryNavigation #PrimaryNavToggle {
            display: block;
        }

        #PrimaryNavigation #PrimaryNavigationContainer {
            display: none;
            padding-bottom: 4px;
            height: auto;
            background: #8eaebe url("Images/PrimaryNavBG.png") repeat-x left bottom;
        }

            #PrimaryNavigation #PrimaryNavigationContainer ul#PrimaryNavigationList {
                float: none;
            }

                #PrimaryNavigation #PrimaryNavigationContainer ul#PrimaryNavigationList li {
                    float: none;
                    display: block;
                    border: none;
                }

                    #PrimaryNavigation #PrimaryNavigationContainer ul#PrimaryNavigationList li a {
                        float: none;
                        display: block;
                        border-left: solid 4px transparent;
                    }

                        #PrimaryNavigation #PrimaryNavigationContainer ul#PrimaryNavigationList li a.Selected {
                            background: #38566D;
                            border-left: solid 4px #fc9a00;
                        }

    .indicatorPopup {
        width: calc(100% - 20px) !important;
    }

    .CallOut {
        display: none;
    }

    .DataSourceList li > a {
        display: block;
    }

    .DataSourceList li a.SeeIndicators {
        display: inline-block;
    }

    #Content #ContentContainer #PageContentContainer #PageContentBody #PageContent {
        margin-right: 0;
    }

        #Content #ContentContainer #PageContentContainer #PageContentBody #PageContent .DevGalleryContainer {
            width: 100%;
            float: none;
            margin: 0;
        }

            #Content #ContentContainer #PageContentContainer #PageContentBody #PageContent .DevGalleryContainer .DevGalleryBlock {
                margin: 0 20px;
                width: auto;
            }

                #Content #ContentContainer #PageContentContainer #PageContentBody #PageContent .DevGalleryContainer .DevGalleryBlock img {
                    float: none;
                    display: block;
                    margin: 0 auto 10px auto;
                    padding: 0;
                }

                #Content #ContentContainer #PageContentContainer #PageContentBody #PageContent .DevGalleryContainer .DevGalleryBlock .DevGalleryTitle {
                    text-align: center;
                }

                #Content #ContentContainer #PageContentContainer #PageContentBody #PageContent .DevGalleryContainer .DevGalleryBlock .DevGalleryDescription {
                    text-align: justify;
                }

                #Content #ContentContainer #PageContentContainer #PageContentBody #PageContent .DevGalleryContainer .DevGalleryBlock .DevGalleryMoreLink {
                }

        #Content #ContentContainer #PageContentContainer #PageContentBody #PageContent .HDPAllStarContainer {
            margin: 20px auto 0 auto;
            float: none;
        }

    #Content #ContentContainer #PageContentContainer #PageContentBody #SideBar {
        display: none;
    }

    .HomeContent #PageHeader {
        display: none;
    }

    .HomeContent #PageContentHeader {
        display: none;
    }

    #Page.IndicatorSelection .HorizontalBrowserContainer {
        width: 100%;
        height: 185px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    #Page.IndicatorSelection .HorizontalBrowserBackButton {
        left: 30px;
        top: 286px;
    }

    #Page.IndicatorSelection .RepeaterHeaderContainer {
        margin-top: 0;
    }

        #Page.IndicatorSelection .RepeaterHeaderContainer .RepeaterHeader .CountMessage {
            color: inherit;
        }

        #Page.IndicatorSelection .RepeaterHeaderContainer .RepeaterHeader .RepeaterOptions {
            margin-top: 72px;
        }

    #Page.IndicatorSelection .RemoveFilters {
        clear: both;
        float: none;
        display: block;
        text-align: right;
    }

    #Page.IndicatorList .RepeaterHeaderContainer {
        margin-top: -131px;
    }

    .IndicatorResultsContainer {
        width: 100%;
        overflow-x: auto;
    }

        .IndicatorResultsContainer .IndicatorResults {
            min-width: 600px;
            width: auto;
            /*table-layout: fixed;*/
        }

    #FooterNavigation #FooterNavigationContainer .footerNavigationBlock {
        margin-right: 24px;
        margin-bottom: 10px;
    }

    #FooterNavigation #FooterNavigationContainer #stayConnected {
        clear: both;
        float: none;
        margin: 0 auto;
        padding: 14px;
        width: 250px;
        min-height: 0;
    }

        #FooterNavigation #FooterNavigationContainer #stayConnected ul {
            float: none;
            margin: 0;
            width: auto;
        }

            #FooterNavigation #FooterNavigationContainer #stayConnected ul li,
            #FooterNavigation #FooterNavigationContainer #stayConnected ul li a {
                float: none;
                width: auto;
            }

    #Footer {
        height: auto;
    }

        #Footer #FooterContainer {
            padding: 10px;
        }

            #Footer #FooterContainer #developedBy {
                float: none;
            }

            #Footer #FooterContainer #footerLogos {
                display: none;
            }
}
