html {
    height: 100%;
    width: 100%;
}

.header-inner {
	position: relative;
}

#login-form {
	background-color: white;
    position: absolute;
}

nav.navigation {
  margin-bottom: 0;
}

.page-header {
    width: 100%;
}

.navbar {
    display: none;
}
.nav-collapse, .nav-collapse.collapse {
    overflow: visible;
    height: auto;
}

ul#ariext89 li.ux-menu-item-main > a, ul#ariext89 li.ux-menu-item-main > a.current {
    background: url("/images/menu-mobile.png") repeat scroll 0 0 / 100% auto rgba(0, 0, 0, 0);
}

/*
body:not(.protostarWebmapWide) ul#ariext89 li.ux-menu-item-main li a.ux-menu-link-parent .ux-menu-arrow {
    background: url("/images/menu-arrow-left.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}
*/

/*I don't know why max-width is set since most browsers ignore it, but this breaks scrolling table alignment on iOS*/
table.dataTable {
    max-width: none;
}

@media all and (max-width: 50.5em) {                       /*50.5em x 16px ~ 808px*/
    body:after {
        content: 'smallscreen';
        display: none;
    }
}

@media (max-width: 1020px) {                                /*not full sized*/
    .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
        width: 724px;
    }
}

@media (min-width: 808px ) and (max-width: 1020px) {        /*tablet size*/

}

@media (min-width: 808px) {                                 /*not phone sized*/
    div#ariext89_container {        /*mini phone menu*/
        display: none;
    }

    #login-form {
        right: 0;
        padding: 10px;
    }
}

@media (max-width: 808px) {                                 /*phone sized*/
    body.protostarWebmapWide header.header {
        height: 0;
        margin: 0;
        width: 0;
    }

    .site-title {
        font-size: 5vmax;
        line-height: 1.2em;
    }

    #login-form {
        display: none;
    }
    #ariext89_container {
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
    }
    .navigation {
        display: none;
    }

    .logged-out .header-inner {
        padding-right: 10px;
        z-index: 1;
    }
    .logged-out .navigation {
        padding: 5px 10px 5px 0;
        z-index: 1;
    }
    .logged-out .header-search {
        z-index: 2;
    }

    .hidden-desktop {
        display: inherit !important;
    }
    .visible-desktop {
        display: none !important;
    }
    .visible-phone {
        display: inherit !important;
    }
    .hidden-phone {
        display: none !important;
    }

    body.site {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;;
        padding: 0!important;
        width: 100%;
        height: 100%;
    }
    .body .container {
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
    .header .brand {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: inline-block;
        width: 100%;
        float: left;
        text-align: center;
        padding: 0 45px;
    }
    .header .brand > img {
        height: 50px;
    }

    .header .nav.pull-right, .header-search {
        float: right;
    }
    #login-form.form-vertical {
        padding: 10px 0;
    }
    .footer .container {
        background: none repeat scroll 0 0 white;
        padding: 0 20px 10px;
    }

    .navbar-fixed-top,
    .navbar-fixed-bottom,
    .navbar-static-top {
        margin-left: -20px;
        margin-right: -20px;
    }
    .container-fluid {
        padding: 0;
    }
    .dl-horizontal dt {
        float: none;
        clear: none;
        width: auto;
        text-align: left;
    }
    .dl-horizontal dd {
        margin-left: 0;
    }
    .container {
        width: auto;
    }
    .row-fluid {
        width: 100%;
    }
    .row,
    .thumbnails {
        margin-left: 0;
    }
    .thumbnails > li {
        float: none;
        margin-left: 0;
    }
    [class*="span"],
    .uneditable-input[class*="span"],
    .row-fluid [class*="span"] {
        float: none;
        display: block;
        width: 100%;
        margin-left: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .span12,
    .row-fluid .span12 {
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .row-fluid [class*="offset"]:first-child {
        margin-left: 0;
    }
    .input-large,
    .input-xlarge,
    .input-xxlarge,
    input[class*="span"],
    select[class*="span"],
    textarea[class*="span"],
    .uneditable-input {
        display: block;
        width: 100%;
        min-height: 28px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .input-prepend input,
    .input-append input,
    .input-prepend input[class*="span"],
    .input-append input[class*="span"] {
        display: inline-block;
        width: auto;
    }
    .controls-row [class*="span"] + [class*="span"] {
        margin-left: 0;
    }
    div.modal {
        position: fixed;
        top: 20px;
        left: 20px;
        right: 20px;
        width: auto;
        margin: 0;
    }
    div.modal.fade {
        top: -100px;
    }
    div.modal.fade.in {
        top: 20px;
    }
    .header {
        background: transparent;
        margin: 0;
    }
    .header .nav.pull-right,
    .header-search {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        white-space: nowrap;
    }
    .header-search form {
        margin: 0;
    }
    .header-search .search-query {
        width: 90%;
    }
    .header .nav-pills > li > a {
        border: 1px solid #ddd;
        border-bottom: 0;
        margin: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        margin-right: 0;
    }
    .header .nav-pills > li:first-child > a {
        -webkit-border-radius: 4px 4px 0 0;
        -moz-border-radius: 4px 4px 0 0;
        border-radius: 4px 4px 0 0;
    }
    .header .nav-pills > li:last-child > a {
        -webkit-border-radius: 0 0 4px 4px;
        -moz-border-radius: 0 0 4px 4px;
        border-radius: 0 0 4px 4px;
        border-bottom: 1px solid #ddd;
    }
    .modal.fade {
        top: -100%;
    }
    .nav-tabs {
        border-bottom: 0;
    }
    .nav-tabs > li {
        float: none;
    }
    .nav-tabs > li > a {
        border: 1px solid #ddd;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        margin-right: 0;
    }
    .nav-tabs > li:first-child > a {
        -webkit-border-radius: 4px 4px 0 0;
        -moz-border-radius: 4px 4px 0 0;
        border-radius: 4px 4px 0 0;
    }
    .nav-tabs > li:last-child > a,
    .nav-tabs > .active:last-child > a {
        -webkit-border-radius: 0 0 4px 4px;
        -moz-border-radius: 0 0 4px 4px;
        border-radius: 0 0 4px 4px;
        border-bottom: 1px solid #ddd;
    }
    .nav-tabs > li > a:hover {
        border-color: #ddd;
        z-index: 2;
    }
    .nav-tabs.nav-dark > li > a {
        border: 1px solid #333;
    }
    .nav-tabs > li:last-child > a,
    .nav-tabs > .active:last-child > a {
        border-bottom: 1px solid #333;
    }
    .nav-tabs.nav-dark > li > a:hover {
        border-color: #333;
    }
    .nav-pills > li {
        float: none;
    }
    .nav-pills > li > a {
        margin-right: 0;
    }
    .nav-pills > li > a {
        margin-bottom: 3px;
    }
    .nav-pills  > li:last-child > a {
        margin-bottom: 1px;
    }
    .form-search > .pull-left,
    .form-search > .pull-right {
        float: none;
        display: block;
        margin-bottom: 9px;
    }
}

@media (min-width: 500px) {                                     /*not minimum sized*/

}

@media (max-width: 500px) {                                     /*minimum sized*/
}