@charset "UTF-8";
/* ==========================================================================
   Responsive overrides
   Every rule lives inside a max-width media query, so at 980px and wider
   the original desktop layout in layout.css / text.css is untouched.
   ========================================================================== */

/* -------------------------------------------------------------------------- Tablet and below (< 980px) */
@media (max-width: 979px) {

    img {
        max-width: 100%;
        height: auto;
    }

    .center_960 {
        width: auto;
        max-width: 960px;
    }

    /* ---------------------------------------------------------- Header */
    #header .center_960 > img {
        display: block;
        width: 300px;
        margin-left: 10px;
        padding-top: 20px;
    }
    #nav {
        width: auto;
        float: none;
        left: auto;
        right: 10px;
        top: 70px;
    }

    /* ---------------------------------------------------------- Driftwood sign */
    #hours {
        position: static;
        margin: 10px auto 0;
    }

    /* ---------------------------------------------------------- Home + Market top section */
    #top_image {
        width: auto;
        height: auto;
        margin: 10px;
        text-align: center;
    }
    .lg_white_box {
        position: static;
        width: auto;
        margin: 10px;
        z-index: auto;
    }
    .lg_white_box p {
        margin-left: 0;
    }
    .width400 {
        position: static;
        width: auto;
    }

    /* ---------------------------------------------------------- Home cards */
    #zone2 {
        width: auto;
        height: auto;
        margin: 20px auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    /* floats are right-to-left on desktop; keep the same visual order */
    #zone2 .sm_white_box:nth-child(1) { order: 3; }
    #zone2 .sm_white_box:nth-child(2) { order: 2; }
    #zone2 .sm_white_box:nth-child(3) { order: 1; }
    #zone2 .sm_white_box {
        float: none;
        margin: 0 11px 22px;
        min-height: 0;
    }

    /* ---------------------------------------------------------- Inner page content box */
    .lg_white_box2 {
        top: 0;
        width: auto;
        margin: 20px 10px 40px;
        z-index: auto;
    }

    /* ---------------------------------------------------------- Restaurant menu */
    .menu {
        width: auto;
    }
    .menu_col1,
    .menu_col2 {
        position: static;
        width: auto;
        margin: 10px 20px;
    }
    .menu_jump {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin: 16px 10px 6px;
        padding: 0;
        list-style: none;
    }
    .menu_jump a:link,
    .menu_jump a:visited {
        display: inline-block;
        padding: 8px 10px;
        border: 1px solid #376083;
        border-radius: 4px;
        background-color: #fff;
        color: #376083;
        font-size: .8em;
        text-decoration: none;
    }
    .menu_jump a:hover,
    .menu_jump a:active {
        background-color: #376083;
        color: #fff;
        text-decoration: none;
    }
    .menu h2[id] {
        scroll-margin-top: 12px;
    }

    /* ---------------------------------------------------------- Seafood market */
    .mrkt_zone1,
    .mrkt_zone2 {
        width: auto;
        height: auto;
    }
    .mrkt_col1,
    .mrkt_col2,
    .mrkt_col3,
    .mrkt_col4 {
        position: static;
        width: auto;
        margin-left: 10px;
    }
    #zone3 {
        width: auto;
        margin: 20px auto;
        text-align: center;
    }

    /* ---------------------------------------------------------- Contact */
    #googleMap iframe {
        width: 100%;
        max-width: 425px;
    }
    .contact_dirs {
        float: none;
        position: static;
        width: auto;
        margin: 20px 0;
    }

    /* ---------------------------------------------------------- Footer */
    #footer {
        height: auto;
        bottom: 0;
        margin-top: 20px;
        padding: 90px 0 20px;
        background-position: center top;
        background-color: #3e4a5e;
    }
    #phone {
        position: static;
        height: auto;
        min-height: 243px;
        margin: 0 auto 10px;
    }
    #ftnav {
        float: none;
        position: static;
        width: auto;
        margin: 0 auto;
        padding: 0 10px;
    }
    #ftnav li,
    #footer #ftnav2 li {
        display: inline-block;
        margin: 0 4px;
    }
    #ftnav a,
    #ftnav2 a {
        display: inline-block;
        padding: 10px 4px;
    }
    #ftnav2 {
        width: auto;
        margin: 0 auto;
    }
    #payments {
        margin-top: 10px;
    }
    #copywrite {
        padding: 0 10px;
    }
}

/* -------------------------------------------------------------------------- Mobile (< 768px) */
@media (max-width: 767px) {

    body {
        font-size: 16px;
        letter-spacing: .02em;
    }
    h1 {
        font-size: 1.5em;
        text-align: center;
    }
    h2 {
        font-size: 1.3em;
        margin: 10px 0;
    }

    /* ---------------------------------------------------------- Header: logo above nav, stripe kept at bottom */
    #header .center_960 > img {
        width: 240px;
        margin: 0 auto;
        padding-top: 10px;
    }
    #nav {
        position: static;
        text-align: center;
        margin-top: 4px;
    }
    #nav li {
        font-size: 1em;
    }
    #nav a:link,
    #nav a:visited,
    #nav a:hover,
    #nav a:active {
        display: inline-block;
        padding: 10px 6px;
        margin: 0 2px;
    }

    /* ---------------------------------------------------------- Content boxes */
    .lg_white_box {
        padding: 15px;
    }
    .lg_white_box2 {
        border-width: 25px 10px 0;
        padding: 15px 12px 30px;
    }

    /* ---------------------------------------------------------- Menu: price rows as flex so long names wrap cleanly */
    .menu {
        border: 0;
    }
    .menu_col1,
    .menu_col2 {
        margin: 10px 0;
    }
    .menu dt {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        padding: 0;
        margin-bottom: .7em;
    }
    .menu strong,
    .menu em {
        position: relative;
        bottom: -.4em;
    }
    .menu strong {
        flex: 0 1 auto;
    }
    .menu em {
        flex: 0 0 auto;
    }

    /* ---------------------------------------------------------- Market lists */
    .mrkt_col1,
    .mrkt_col2,
    .mrkt_col3,
    .mrkt_col4 {
        margin-left: 0;
    }
    .mrkt_prices {
        margin-bottom: 0;
        text-align: left;
    }
    .mrkt_prices li {
        padding: 0 0 .6em;
    }
    .mrkt_prices strong {
        position: static;
        display: block;
    }
}

/* -------------------------------------------------------------------------- Small phones (< 481px) */
@media (max-width: 480px) {

    .lg_white_box h3,
    h3 {
        padding: 10px 4px;
    }
    #zone2 .sm_white_box {
        margin: 0 0 22px;
    }
}
