* {
    box-sizing: border-box;
}
html,body {
    font-size:16px;
    line-height:18px;
}
body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #FEFDD8;
    margin:0;
}
#container {
    max-width:900px;
    width:100%;
    margin:auto;
    overflow: auto;
}
header {
    background-color: #336633;
    border-top: 4px solid #346633;
}

h1{
    color: #fdf2c5;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.6rem;
    text-align: center;
    vertical-align: middle;
    margin:0.5rem auto;
    padding:0.5rem 0 0.2rem;
}
h2 {
    border: none;
    color: #336633;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 1.2rem;
    line-height: 1.4rem;
    font-weight: bold;
    margin: 2px auto;
    text-align: center;
    padding:0.4rem;
}
h3 {
    font-size: 0.85rem;
    font-weight: bold;
    color: #FDF2C5;
    background-color: #336633;
    text-align: center;
    padding: 2px;
    margin:0 auto;
}
.padding {
    padding: 0.7rem;
    margin: 0.7rem auto;
    font-size: .95rem;
    width:90%;
}
.padding strong {
    color: #fff;
}

form#dishform {
    margin-top: 1rem;
}
form#dishform input[type=submit] {
    margin-left: 75%;
    padding: 0.1rem 1.5rem;
}
form#dishform .chosen {
    background-color: #9DA;
}


form#dishform label:hover,
form#dishform label:focus,
form#dishform input[type=submit]:hover,
form#dishform input[type=submit]:focus {
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}
@media screen and (max-width:847px) {
    article p {
        margin-right: 0.25rem;
    }
    #large {
        display:none;
    }
    #small {
        display: block;
        overflow: auto;
        padding:0;
    }
    #small >img {
        float:left;
    }
    #small > h1 {
        padding: 5% 0;
    }
	h1 > .townName {
	    display:block;
	}
}
@media screen and (min-width:848px) {
    #large {
        display:block;
        text-align: center;
    }
    #large > img:nth-of-type(2) {
        /** middle image only scale to screen width **/
        width:58%;
        width:calc(100% - 350px);
        max-width:555px;
        min-width:506px;
        height:120px;
    }
    #small > img {
        display:none;
    }
    #small > h1 {
        font-size: 1.55rem;
        line-height: 1.75rem;
    }
	h1 > .townName {
	    display:none;
	}
}


#subhead a:hover {
    color: #FFCC00;
}
.initcap {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 30px;
    color: #336633;
}
footer {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    font-style: italic;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 5px;
    border-top: 2px solid #336633;
    max-width:900px;
    width:100%;
    margin:auto;
}
nav {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 0.85rem;
    line-height: 0.9rem;
    font-weight: normal;
    color: #FDF2C5;
    width: 125px;
    margin-right:4px;
    margin-left:1px;
}
nav a, .subnav a {
    color: #FDF2C5;
    text-decoration: none;
    background-color: #336633;
    border: 1px solid #A79C1C;
    display: block;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 4px;
    margin-bottom: 5px;
    margin-top: 5px;
}

nav a:hover, .subnav a:hover {
    color: #336633;
    background-color: #FDF2C5;
}
.subnav a {
    display: inline-block;
    width:120px;
}
article {
    overflow:auto;
}
article p {
    font-size:0.9rem;
    padding-left: 0.5rem;
    padding-right: 0.25rem;
    margin-left: 0;
    margin-top: 2px;
    margin-bottom: 0.6rem;
}

.credit {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    font-style: italic;
    color: #666666;
    text-align: center;
}

.map {
    border: 1px solid #81241D;
}
.frontpic {
    float: right;
    max-width: 340px;
    min-width: 180px;
    width:60%;
    margin: 10px 0 5px 0;
    /*background-color: #FEFDE7;*/
    padding: 2px 5px 6px;
    text-align: center;
    display: block;
}
.frontpic img, .mainImage img, .rightPic img {
    width: 100%;
    margin:auto;
}
.frontpic figcaption, .mainImage figcaption, .rightPic figcaption {
    text-align: center;
    font-size: 0.8rem;
    font-style:italic;
    line-height:0.86rem;
}
.thaiSelectNav {
    margin: 1.25rem 0 0;
    text-align: center;
    width: 125px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.65rem;
    font-style: italic;
    color: #999;
    line-height: 0.75rem;
    font-weight: normal;
}
.thaiSelectNav img,
.thaiSelectNarrow img {
    width:100%;
    max-width: 100%;
    height: auto;
}
.thaiSelectNav a {
    background-color: #FEFDD8;
    margin: 0;
    padding: 0;
    border: none;
}
.thaiSelectNav a:hover {
    background-color: #FEFDD8;
    margin: 0;
    padding: 0;
    border: none;
}
.rightPic {
    float: right;
    max-width: 410px;
    min-width: 210px;
    width:60%;
    margin: 10px 0 5px 0;
    padding: 2px 5px 6px;
    text-align: center;
    display: block;
}
.mainImage {
    max-width:460px;
    width:80%;
    min-width:290px;
    margin:10px auto 5px;
    padding: 2px 6px 6px;
    text-align: center;
    display: block;
}
.phone, .address, .openingHours {
    text-align: center;
    padding:0.5rem;
    font-size:1.15rem;
    max-width:300px;
    margin:0.5rem auto 1rem;
    line-height: 1.25rem;
}
.phone span {
    display: block;
    font-size:0.9rem;
    margin-top:0.5rem;
}
.address {
    font-size:0.9rem;
}
.address span {
    display: block;
}
.openingHours {
    max-width:500px;
    font-weight: normal;
    line-height: 1.4rem;
    font-size:0.95rem;
    text-align: center;
}
.openingHours span {
    font-size:1.15rem;
    display: block;
    line-height: 1.6rem;
    margin:0.4rem auto;

}
#opening , #findus{
    color: #336633;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 1.15rem;
    font-weight: bold;
    margin: 0.7rem auto 0.3rem;
    padding: 0.4rem;
}
#mapBox {
    display: block;
    width:100%;
    margin:1rem auto;
    height:250px;
    height:calc(100vw * 0.5);
    max-height: 400px;
    min-height: 150px;
    text-align: center;
}
#mapp {
    width:90%;
    max-width:500px;
    height: 100%;
}
.hider {
    display: none;
}
/*** Sub navigation buttons ***/
.subnav {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 0.85rem;
    line-height: 0.9rem;
    font-weight: normal;
    color: #FDF2C5;
}

@media screen and (max-width:420px) {
    nav, .subnav {
        display: block;
        width:100%;
        margin:0;
        text-align: center;
    }
    nav a, .subnav a {
        display: inline-block;
        width:120px;
        text-align: left;
        padding:5px;
        font-size:0.9rem;
    }
    nav > .thaiSelectNav {
        display: none;
    }
    .thaiSelectNarrow {
        display:inline-block;
        float:left;
        max-width:125px;
        width:100%;
        font-size:0.65rem;
        line-height: 0.8rem;
        color: #777;
        text-align: center;
        margin-bottom: 0.8rem;
        padding: 0 0.25rem;
    }
    .thaiSelectNarrow a{
        display: block;
    }
    .frontpic {
        display:block;
        margin:auto;
        float:none;
        width:auto;
    }
    .subnav span {
        display: inline;
    }
    .subnav span:after {
        content:'\a';
        white-space: pre;
    }
    #smallHeader {
        display: block;
    }
}
@media screen and (min-width:421px) {
    nav {
        float:left;
        margin-bottom: 2rem;
    }
    nav > .thaiSelectNav {
        display: block;
    }
    .thaiSelectNarrow {
        display:none;
    }
    .subnav {
        display: block;
        text-align: center;
    }
    #smallHeader {
        display: none;
    }
}

.msg {
    background-color: #CCC;
    font-size: 0.9rem;
    font-weight: bold;
    color: #121;
    text-align: center;
    border: 1px solid #82231D;
    display: block;
    float: none;
    width: 80%;
    max-width:500px;
    min-width:300px;
    margin:0 auto 0.25rem;
    padding:0.3rem;
}
/*** Food Menu Page(s) ***/
#menuPage h2 {
    color: #121;
}
#menuPage h3 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    font-weight: bold;
    /*color: #23461E;*/
    color:#363;
    text-align: center;
    padding: 2px 10px 4px;
    vertical-align: bottom;
    margin: 1rem auto 0.5rem;
    line-height: 1.6rem;
    background-color: transparent;
}
#menuPage h4 {
    margin:1.5rem auto 2rem;
    font-size:1.75rem;
    text-align: center;
    color: #121;
    border-top: 2px solid #363;
    padding-top:1rem;
    font-weight: normal;
    line-height: 1.85rem;
}
#menuPage .max80 {
    max-width:520px;
    margin:auto;
}

#menuPage .courseTop {
    font-size: 0.8rem;
    font-style: italic;
    font-weight: normal;
    line-height: 1.1rem;
    display: block;
    text-align: center;
}
#menuPage .courseTopB {
    font-style: normal;
    margin:0.3rem auto;
}
#menuPage .courseTopB a {
    padding:0 0.3rem;
}
#menuPage ul {
    padding:0;
    margin:1.2rem 0 1rem;
}
#menuPage ul li {
    margin-top: 0.7rem;
    list-style-type: none;
    text-align: center;
    font-size:0.95rem;
    line-height:1.2rem;
    padding:0 0.2rem;
}
#menuPage ul li em {
    font-size:0.8rem;
    line-height:1rem;
    display: block;
}
.veggie {
    font-weight: bold;
    color: #FEFDD8;
    padding: 0 1px;
    background-color: #346633;
}
.menufoot {
    font-size: 0.8rem;
    font-style: italic;
    text-align: center;
    color: #336633;
    border: 1px solid #346633;
    max-width: 600px;
    width:80%;
    margin: 0.25rem auto 0.6rem;
    background-color: #FEFDE7;
    padding:0.5rem;
    line-height: 1.5;
}
#menuPage h4 + p {
    display: block;
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
    font-weight: normal;
    line-height: 1rem;
    color:#363;
    margin-top:-0.5rem;
}
.drink {
    text-align: left !important;
    border-bottom: 1px solid #346633 !important;
    font-size:1.1rem !important;
    font-weight:normal !important;
    margin-bottom:0.1rem !important;
}
.drinkRow {
    display: block;
    width:96%;
    max-width:700px;
    margin:auto;
}
.drinkRow div {
    display: inline-block;
    box-sizing: border-box;
}
.drinkRow div:first-of-type {
    width:78%;
    text-align: left;
    font-size:0.9rem;
    font-weight: normal;
    line-height: 1.2rem;
}
.drinkRow div:nth-of-type(2), .drinkRow div:nth-of-type(3) {
    width:20%;
    text-align: left;
    font-size:0.9rem;
    font-weight: normal;
    line-height: 1.2rem;
    padding-left:5px;
}
.drinkRow:last-of-type {
    margin-bottom:2.1rem;
}
.controlDrinks {
    width:98%;
    max-width:800px;
}
.controlDrinks div:nth-of-type(2) {
    width:15%;
    text-align: center;
}
.controlDrinks div:first-of-type {
    width:63%;
}
.controlDrinks:hover {
    background-color: #cfc;
}
/** For menu editing on control panel **/
.drinkRow > p > input, .drinkRow > p > textarea {
    max-width: 90%;
}
.drinkRow > p > textarea {
    min-height:6rem;
    min-width:250px;
    width:75%;
}
.drinkRow > p > label {
    font-weight: bold;
}
.drinkRow input[type='submit']:hover {
    cursor: pointer;
}
/*** Set Menu Box ***/
#setMenuContainer {
    text-align: center;
    width:100%;
}
.setmenubox {
    padding: 5px;
    max-width: 330px;
    width:90%;
    min-width:290px;
    margin:5px;
    vertical-align: text-top;
    display: inline-block;
    border: 1px solid #346633;
    box-sizing: border-box;
    text-align: left;
}
.setmenubox .setmenutitle {
    font-size: 1.05rem;
    font-weight: bold;
    color: #FDF2C5;
    background-color: #346633;
    text-align: center;
    padding: 3px;
    line-height: 1.25rem;
    display: block;
}
.setmenubox .course {
    font-weight: bold;
    color: #295429;
    font-size: 1rem;
    margin-top: 0.75rem;
}
.setmenubox .menuitem {
    display: block;
    padding:2px 2px 2px 2rem;
}
/*** END set menu boxes ***/

/**** End Food menu ***/

.delete:hover, .additem:hover {
    background-color:#fff;
    font-weight: bold;
}
.setMenuBoxWide {
    max-width: 550px;
}
.setMenuBoxWide a {
    font-size: 0.9rem;
    font-weight:normal;
    float:right;
    display: inline-block;
}
.centerText {
    text-align: center;
}
.setMenuBoxWide .setmenutitle a {
    color:#fff;
}
.additem {
    font-size:0.9rem;
    padding-left:1rem !important;
}
.additem a {
    float:none !important;
}
/*** Control Drink List ***/
#ValDay24 {
    width: 90%;
    margin: 1rem auto;
    display: block;
    box-sizing: border-box;
    border: 3px double #f63;
    padding: 1rem 0.5rem 1rem 120px;
    overflow: auto;
    min-width: 300px;
    background-color: #FFE;
    color:#900;
    background-image: url('/images/Val_Win_Poster_small.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}
#ValDay24 > p.centerText {
    font-size: 1.05rem;
    line-height: 1.5;
}
#March23 {
    width: 90%;
    margin: 1rem auto;
    display: block;
    box-sizing: border-box;
    border: 5px double #a79c1c;
    /*border: 3px double #363;*/
    padding: 0.5rem 0.25rem;
    overflow: auto;
    min-width: 300px;
    background-color: #FFE;
}
#March23 p {
    color: #363;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: normal;
    line-height: 1.75rem;
    padding:0.5rem;
    margin:0;
}

@media screen and (max-width: 700px ) {
    #March23 {
        text-align: center;
    }
}

@media screen and (max-width: 880px) {
    #ValDay24 {
        width: 90%;
        padding: 280px 0.5rem 0.25rem;
        background-size: 250px auto;
        background-position: center 10px;
    }
    #ValDay24 > p.centerText {
        font-size: 1rem;
        line-height: 1.4;
    }
}
