@media screen and (max-width:960px) {
/* Scale to fit on screen */
html {
    background: none;
}
body, #header, #footer, #search {
    width: auto;
}
#body {
    width:100%;
    display:block;
}
#logo {
    height: 100px;
}
#slide_holder {
    width: 100%;
    padding-bottom: 40%;
    position: relative;
}
#slide_holder p {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#gallery {
    width: auto;
    height: auto;
}
#gallery img {
    width: 100%;
    height: auto;
}
#banner {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

#menu {
    width: auto;
    whitespace: no-wrap;
    padding-right: 95px;
    overflow: hidden;
    font-size: 100%;
    height: 2.5em;
    background-image: url('dots.png');
    background-repeat: no-repeat;
    background-position: 98% 50%;
    cursor: ne-resize;
}
#menu.full-display {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3em 0 0;
    background: rgba(0, 0, 0, 0.8);
    background-image: url('x.png');
    background-position: 0.25em 0.25em;
    background-repeat: no-repeat;
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    z-index: 250;
    cursor: sw-resize;
}
#menu.full-display li {
    display: block;
    width: 90%;
    border: none;
    border-bottom: 1px solid white;
    border-top: 1px solid #ccc;
    margin: 0 auto;
    background: #eee;
    height: auto;
}
#menu.full-display a {
    padding: 1em 0;
    color: #002d62;
    height: auto;
    font-size: 110%;
}

/* Embedded content should not overflow */
embed, iframe, object, video {
    max-width: 97%;
    width: 97%;
    margin:auto;
    display:block;
    overflow:hidden;
}
img {
    max-width:97%;
}
}

@media screen and (max-width:768px) {
#search {
    padding-top: 0;
    padding-bottom: 0.75em;
    text-align: center;
    height: auto;
}

#logo {
    height: auto;
}

.tab {
    float: none;
    display: inline-block;
    width: auto;
    height: auto;
}

.tab > a {
    color: white;
    display: inline-block;
    float: none;
    font-size: inherit;
    border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    margin: 0 0.25em;
    border-top: none;
    box-shadow: none;
    border-bottom: 2px solid #666;
    background: #c5960c;
    padding: 5px;
}
.tab > a:hover, .tab > a:active, .tab > a:focus {
    margin: 0 0.25em;
    padding: 5px;
}

textarea {
    width: 95%;
}
#sitemap {
    float: none;
}

#logo img {
    height: 1em;
    width: auto;
}
#caslink {
    padding-left: 1em;
    display: inline;
    width: auto;
}
#logo h1 {
    position: static;
    padding: 0.25em 0;
    width: auto;
    text-align: center;
    margin: 0;
    left: 0;
    top: 0;
}
#logo h2 {
    text-align: center;
}
#sitelink {
    position: static;
    width: auto;
    height: auto;
}
#schoollink {
    position: static;
    width: auto;
    text-align: center;
    padding: 0.1em 0 0.5em;
}

.info_container {
    display: block;
    width: auto;
    border-bottom: 1px solid #ccc;
}

#footer {
    height: auto;
    padding: 1em;
}
#fiu_footer {
    float: none;
    text-align: left;
    padding: 0;
}
#fiu_footer img {
    vertical-align: middle;
}
#fiu_footer span {
    display: inline;
    margin-left: 1em;
}

#quicknav {
    margin-top: 0.5em;
    border-top: 1px solid #eee;
    border-left: none;
    font-size: inherit;
    line-height: normal;
    padding: 0;
    vertical-align: middle;
    float: none;
}

#links {
    display: block;
    width: 100%;
    padding: 0;
    float: none;
}
#links img {
    display: none;
}
#links h2 {
    width: 100%;
    cursor: ne-resize;
    background-color: #ddd;
    padding: 5px 0;
    text-align: center;
}
#links h2:after {
    content: "(tap to expand)";
    font-size:80%;
    margin-left: 1em;
    vertical-align: middle;
    color: #888;
    font-weight: normal;
}
#links h2 a {
    color: #002d62;
}
#side-menu {
    display: none;
}
#links.full-display {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding-top: 3em;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    z-index: 250;
}
#links.full-display h2 {
    cursor: sw-resize;
    width: 80%;
    margin: 0 auto;
    padding: 0.5em 0;
    border-radius: 0.5em 0.5em 0 0;
}
#links.full-display h2:after {
    content: "(tap to collapse)";
}
#links.full-display #side-menu {
    display: block;
    margin: 0 auto;
    text-align: left;
    width: 80%;
}
#links li {
    padding-top: 0.75em;
    padding-bottom: 0.75em;
}

#content {
    box-sizing: border-box;
    width: auto;
    display: block;
    padding: 1em;
}
#leftcontact { display: none; }

#search-bar {
    float: none;
    margin: 5px auto 10px;
    width: 95%;
}

#quicknav {
    text-align: center;
}

#quicknav h4 {
    display: none;
}

#quicknav ul {
    text-align: center;
    border-bottom: 1px dotted #999;
    border-top: 1px dotted #999;
}

#quicknav li {
    display:inline-block;
    line-height:1.7em;
    text-align:center;
}

#quicknav li a {
    padding: 2ex 5ex;
    display: block;
}

#quicknav li a:first-child {
    padding: 2ex 5ex;
}

#content img {
    max-width:95%;
    height: auto;
}

}

@media screen and (max-width:480px) {
.tab {
    float:none;
    height:auto;
    margin:0;
    display: block;
}

.tab > a {
    margin: 0;
    display:block;
    height: auto;
    padding: 1ex 0;
    border:none;
    border-radius: 0;
    border-bottom: 1px solid #fff;
    background: #c8a642;
}

.tab > a:hover, .tab > a:active, .tab > a:focus {
    margin: 0;
    position: static;
    padding: 1ex 0;
}

#content > #banner {
    width:100%;
    max-width:100%;
    min-width:100%;
}
#search.small {
    overflow: hidden;
    max-height:1em;
    opacity:.5;
}
#search.full-display {
    display:block;
    height:auto;
    overflow:visible;
    max-height:100vh;
}
#fiu_footer {
    text-align: center;
}
#fiu_footer span {
    display: block;
    margin: 1em;
}
#logo {
    height:auto;
}
}