﻿/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 850px) and (min-width: 500px) {

    /* header
    ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin-top: 0;
        text-align: center;
    }

    /* login */
    #login {
        font-size: .85em;       
        text-align: right;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a:hover {
            color: white;
        }

    /* menu */
    nav {
        /*padding-bottom: 4px;
        padding-top: 4px;*/
        background: linear-gradient(to bottom, white,silver);
        background: -webkit-linear-gradient(top, white,silver);
        background: -moz-linear-gradient(top, white,silver);
        background: -ms-linear-gradient(top, white,silver);
        background: -o-linear-gradient(top, white,silver);
        color: #003;
        font-weight: normal;
        /*padding-right: 10px;*/
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    ul#menu {
        margin: 0;
        padding-bottom: 5px;
        padding: 0;
        text-align: center;
    }

        ul#menu li {
            /*margin: 0;*/
            padding: 0;
        }


    /* main layout
    ----------------------------------------------------------*/
    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .content-wrapper {       
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

    /* features */
    section.feature {
        float: none;
        padding: 10px;
        width: auto;
    }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    input {
        width: 90%;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

        #loginForm .validation-error {
            display: block;
            margin-left: 15px;
        }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }


    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer {
        text-align: center;
        height: auto;
        padding: 10px 0;
    }

        footer p {
            margin: 0;
        }

    #colDimensionsList {
        height: auto;
    }

    #valDimensionsList {
        height: auto;
    }
        

    h1 {
        font-size: 1.75em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1em;
    }

    h4 {
        font-size: 0.9em;
    }

    h5, h6 {
        font-size: 0.8em;
    }

    .pivotFilter .selectList {
        min-width: 200px;
        max-width: 90%;
        width: 90%;
        float: left;
    }

        .pivotFilter .selectList select {
            min-width: 200px;
            max-width: 100%;
            border: 1px solid silver;
            border-radius: 4px;
            width: 100%
        }

#dialogDiv {
    display: block;
    z-index: 1002;
    outline: 0px;
    height: auto;
    width: 80%;
    top: 484px;
    left: 10%;
}

    .site-title {
        font-size: 1.3em;
        font-family: serif;
    }

header .content-wrapper {
    padding-top: 10px;    
}

header {
    height: auto;    
}

#body section {
border-radius: 0;
}

.main-content {
    padding-left: 10px;
    padding-top: 10px;
    padding-right: 5px;
}

.DatesDiv {
        max-width: 200px;
}

#menu li a {
    /*font-size: 0.9em;*/
}

   

    body {
        background-color:#eaeaeb;
    }

    .outerChartDiv {
        /*float: left;*/
        width: 95%;
        /*overflow-x: auto;*/
        /*-webkit-overflow-scrolling: touch;*/
        /*max-width: 480px;
        max-height: 650px;*/
        margin-top: 10px;
        /*height: 650px;
        min-width: 313px;*/
        margin: 10px auto;
    }
}
