+@media (--max-sm) {
+ #nav-search {
+ order: 100;
+ margin: 0 .5em;
+ }
+
+ #nav-pia {
+ margin-left: auto;
+ }
+
+ #nav-label {
+ width: auto;
+ margin: 0 .5em;
+ }
+
+ #nav-searchbox:not(:focus) {
+ display: inline-block;
+ position: absolute;
+ height: 0;
+ width: 0;
+ padding: 0;
+ margin: 0;
+ background: transparent;
+ overflow: hidden;
+ }
+
+ #nav-searchbox:focus {
+ position: absolute;
+ visibility: visible;
+ outline: none;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 50px;
+ line-height: 50px;
+ font-size: 1.5em;
+ padding-right: 2.5em;
+ width: 100%;
+ }
+
+ #nav-searchbox:focus + #nav-label {
+ display: block;
+ position: absolute;
+ pointer-events: none;
+ top: 0;
+ right: 0;
+ width: 1.5em;
+ font-size: 2em;
+ line-height: 50px;
+ padding-top: -.1em;
+ margin: 0;
+ }
+}
+
+/* n = nav */
+.nlogo { height: 40px; }
+
+/* t = text (used in jumbotron for small logo as text) */