/*  

Theme Name: American Flatbread

Theme URI: http://americanflatbread.com/

Description: Mobile Theme developed for <a href="http://americanflatbread.com/">American Flatbread Company 2013</a>.

Version: 2.0

Author: Seth Wright

Author URI: http://graphicomelette.com/

*/

/*---------------------
----     RESET     ----
---------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: 100% Verdana, san-serif;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
a {
	color: #900;
	text-decoration: none;
}
a:hover{
	color: #C00;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*---------------------
----     FONTS     ----
---------------------*/

@font-face {
    font-family: 'americana_btroman';
    src: url('font/americana_bt-webfont.eot');
    src: url('font/americana_bt-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/americana_bt-webfont.woff') format('woff'),
         url('font/americana_bt-webfont.ttf') format('truetype'),
         url('font/americana_bt-webfont.svg#americana_btroman') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'americana_btbold';
    src: url('font/americana_bold_bt-webfont.eot');
    src: url('font/americana_bold_bt-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/americana_bold_bt-webfont.woff') format('woff'),
         url('font/americana_bold_bt-webfont.ttf') format('truetype'),
         url('font/americana_bold_bt-webfont.svg#americana_btbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'george_hand';
    src: url('font/qegeorgeschenk_caps-webfont.eot');
    src: url('font/qegeorgeschenk_caps-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/qegeorgeschenk_caps-webfont.woff') format('woff'),
         url('font/qegeorgeschenk_caps-webfont.ttf') format('truetype'),
         url('font/qegeorgeschenk_caps-webfont.svg#qegeorgeschenk_capsregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'george_bubble';
    src: url('font/qegeorgeschenk_bubble-webfont.eot');
    src: url('font/qegeorgeschenk_bubble-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/qegeorgeschenk_bubble-webfont.woff') format('woff'),
         url('font/qegeorgeschenk_bubble-webfont.ttf') format('truetype'),
         url('font/qegeorgeschenk_bubble-webfont.svg#qegeorgeschenk_bubbleregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
	background: url('img/background-weave.gif');
}

/*-------------------------------\
--                              --
--          -BANNER-            --
--                              --
\-------------------------------*/

body > header {
	/*box-shadow: 0px 0px 5px #000;*/
	padding-bottom: 4px;
	position: relative;
	width: 100%;
	z-index: 10;
}
#banner {
	background: url('img/bann-bg-pattern.jpg');
	position: relative;
	text-align: center;
}
#banner:before {
	background: url('img/bann-top-row.png') repeat-x;
	content: '';
	display: block;
	height: 26px;
	width: 100%;
}
#banner:after {
	background: url('img/bann-bottom-row.png') repeat-x;
	content: '';
	display: block;
	height: 36px;
	width: 100%;
	position: absolute;
	bottom: -20px;
}
#banner > a > img {
	display: block;
	margin: 0 auto;
	width: 350px;
	height: auto;
}
#banner p {
	color: #300;
	font: 1.2em "americana_btbold", Serif;
	padding: 15px 110px;
}
#baker {
	position: absolute;
	top: 25px;
	left: 10px;
	width: 111px;
	z-index: 20;
}
#baker  img{
	width: 100%;
	height: auto;
}
#social {
	position: absolute;
	top: 35px;
	right: 10px;
	/*width: 150px;*/
	padding-bottom: 10px;
}
#social p {
	font: 1.25em 'george_hand', Verdana, San-serif;
	text-align: center;
	line-height: 1em;
	padding: 0.25em;
	vertical-align: middle;
}
@media screen and (max-width:650px) {
	#banner p {
		display: inline-block;
		padding: 0.2em;
	}
	#baker {
		display: inline-block;
		position: relative;
		top: auto;
		left: auto;
		width: 40px;
		margin: 0;
	}
	#social {
		display: inline-block;
		position: relative;
		top: auto;
		right: auto;
		margin: 0;
	}
	#social p {
		padding: 0.2em;
		padding-right: 0.5em
	}
	#social p > br {
		display: none;
		}
}

/*---------------------
----  NAVIGATION   ----
---------------------*/

nav {
	box-shadow: 0px 0px 5px #000;
	-webkit-box-shadow: 0px 0px 5px #000;
    width: 95%;
    margin: 20px auto 0 auto;
	max-width: 960px;
	position: relative;
}
nav:after {
	background: url('img/afc-foot-bg.png') repeat-x;
	content: '';
	display: block;
	height: 10px;
	width: 100%;
	position: absolute;
	bottom: -10px;
}
#frozen > a {
	background-image: url("img/nav-frozen.png");
}
#restaurants > a {
	background-image: url("img/nav-restaurants.png");
}
#dedications > a {
	background-image: url("img/nav-dedications.png");
}
#farm > a {
	background-image: url("img/nav-farm.png");
}
#about > a {
	background-image: url("img/nav-about.png");
}
#news > a {
	background-image: url("img/nav-news.png");
}
#contact > a {
	background-image: url("img/nav-contact.png");
}

.toggleMenu {
	background-image: url("img/menu-icon.png");
	background-repeat: no-repeat;
	background-position: 95% 50%;
	border-top: 1px solid rgba(255,255,255,.3);
	border-left: 1px solid rgba(255,255,255,.3);
	border-right: 1px solid rgba(0,0,0,.3);
	border-bottom: 1px solid rgba(0,0,0,.3);
	font: 1.5em 'americana_btbold', serif;
    display: none;
    background-color: #600;
    padding: 0.5em;
    color: #fff;
}
.nav {
    list-style: none;
     *zoom: 1;
     background-color: #600;
}
.nav:before,
.nav:after {
    content: " "; 
    display: table; 
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none;
}
.nav a {
    color:#fff;
	border-top: 1px solid #933;
	border-left: 1px solid #933;
	border-right: 1px solid #300;
	border-bottom: 1px solid #300;
	font: 1em Verdana, sans-serif;
	display: block;
	padding: 5px;
}
.nav a:hover,
.nav a:focus {
	background-color: #C00;
}
.nav li {
	position: relative;
	z-index: 200;
}
.nav > li {
    float: left;
}
.nav > li > a {
	background-repeat: no-repeat;
	background-position: 50% 10%;
	display: block;
	font: 1em 'george_hand', Verdana, sans-serif;
	text-align: center;
	height: 20px;
	padding-top: 25px;
	width: 148px;
}
.nav li  ul {
	box-shadow: 0px 0px 5px #000;
    position: absolute;
    left: -9999px;
}
.nav > li.hover > ul,
.nav > li.focus > ul {
    left: 0;
	z-index: 1000;
}
.nav li li.hover ul,
.nav li li.focus ul {
    left: 100%;
    top: 0;
}
.nav li li a {
    display: block;
    background-color: #900;
    position: relative;
	padding: 10px;
	white-space: nowrap;
	z-index: 2000;
}
/*-------- MEDIA QUERY ------------*/
@media screen and (max-width: 1020px) {
	.nav a {
		padding: 1.2em !important;
		color:#fff;
	}
	.nav > li > a {
		background-position: 10px 50%;
		text-align: left;
		padding-left: 60px !important;
		width: auto;
	}
    .active {
        display: block;
    }
    .nav > li {
        float: none;
    }
    .nav > li > .parent {
		background-image: none;
	}
    .nav li .more {
        background-image: url("img/arrow-down.png");
        background-repeat: no-repeat;
        background-position: 50% 50%;
        float: right;
      	width: 10%;
    	border-left: 1px solid rgba(255,255,255,.3);
    	padding: 1.05em 0.8em;
    	margin: 0.1em;
        cursor: pointer;
    	z-index: 200;
        position: relative;
	}
	.nav li .more:before {
		content: '';
		background: rgba(0,0,0,.3);
		width: 1px;
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		left: -2px;
	}
    .nav ul {
        display: block;
        width: 100%;
    }
   .nav > li.hover > ul , .nav li li.hover ul {
        position: static;
    }
}
@media screen and (max-width: 600px) {
	nav {
		width: 100%;
	}
}

/*---------------------------\
--      SECONDARY NAV       --
--------------------------- */
.subnav {
	background: #fdec8e;
	border-radius: 0.2em;
	-webkit-border-radius: 0.2em;
	box-shadow: 0px 0px 5px #000;
	-webkit-box-shadow: 0px 0px 5px #000;
	margin: 0.5em;
	position: relative;
}
.subnav li {
	border-bottom: 1px solid #600;
	padding: 0;
	list-style: none;
	display: block;
}
.subnav li:last-of-type {
	border: none;
}
.subnav a {
	display: block;
	padding: 0.75em;
	font-weight: normal;
	text-decoration: none;
	color: #600;
	line-height: 100%;
}
.subnav a:hover {
	background-color: #FFC;
	color: #C00;
	text-decoration: none;
}
.subnav .current a {
	background: url('img/nav-hearth.png') #600 no-repeat 96% 50%;
	color: #fff;
	border-radius: 0.2em 0.2em 0 0;
	-webkit-border-radius: 0.2em;
	padding-right: 40px;
}
.subnav .current a:hover {
	background-color: #C00;
}

/*-------------------------
--     ALIGNMENT         --
-------------------------*/
.alignleft {
	float: left;
	margin-right: 1em;
}
.alignright {
	float: right;
	margin-left: 1em;
}
.aligncenter {
	display: block;
	margin: 0.25em auto;
}
figure.alignleft {
	float: left;
	padding: 0.1em 2em;
}
figure.alignright {
	float: right;
	padding: 0.1em 2em;
}
figure.aligncenter {
	display: block;
	margin: 0 auto;
	padding: 0.3em;
	width: 50%;
	max-width: 450px;
}
img.alignleft {
	float: left;
	margin-right: 1em;
	vertical-align: text-top;
}
img.alignright {
	float: right;
	margin-left: 1em;
	vertical-align: text-top;
}
img.aligncenter {
	display: block;
	margin: 0.25em auto;
}
p.alignleft,
h1.alignleft,
h2.alignleft,
h3.alignleft {
	text-align: left;
}
p.alignright,
h1.alignright,
h2.alignright,
h3.alignright {
	text-align: right;
}
p.aligncenter,
h1.aligncenter,
h2.aligncenter,
h3.aligncenter {
	text-align: center;
}

/*---------------------
----    CONTENT    ----
---------------------*/

article:before,
article:after {
    content: " "; 
    display: block; 
}
article:after {
    clear: both;
}	
article {
	background: #fff;
	box-shadow: 0px 0px 5px #000;
	-webkit-box-shadow: 0px 0px 5px #000;
	max-width: 960px;
	margin: 0 auto;
	width: 95%;
}
.home article {
	padding: 7px 0px 10px 0px;
}
article > header {
	padding: 1em;
}
article > header > h1 {
	color: #900;
	text-align: center;
}
article > header > hr {
	border: 1px solid #900;
}
article > header > ul > li:first-of-type {
	text-align: left;
}
article > header > ul > li {
	color: #900;
	display: inline-block;
	font: 1em 'americana_btbold';
	text-align: center;
	padding: 0.25em 0em;
	display: inline-block;
	width: 32.5%;
	vertical-align: top;
}
article > header > ul > li:last-of-type {
	text-align: right;
}
article a {
	font-weight: bold;
}
article a:hover {
	text-decoration: underline;
}
article h1,
article h2,
article h3 {
	color: #900;
	clear: both;
	font-family: 'americana_btbold', Serif;
	font-weight: bold;
}
article h1{
	/*border-bottom: 2px solid #900;*/
	font-size: 2.5em;
}
article h2 {
	font-size: 1.75em;
}
article h3 {
	font-size: 1.25em;
}
article p {
	color: #333;
	font-size: 1em;
	line-height: 1.5em;
	padding-bottom: 1.5em;
}
/*article img.aligncenter {
	width: 100%;
	height: auto;
}*/
@media screen and (max-width: 700px) {
	article > header > ul > li,
	article > header > ul > li:first-of-type, 
	article > header > ul > li:last-of-type {
		text-align: center;
		width: 100%;
	}
}
@media screen and (max-width: 600px) {
	article {
		width: 100%;
	}
article img.aligncenter {
	width: 100%;
	height: auto;
}
}

/*----------------------------
--      HIGHLIGHTS          --
----------------------------*/

.highlight {
	background: #fdec8e;
	border-radius: 0.2em;
}

.notice {
	background: #fdec8e;
	border: 1px solid #600;
	border-radius: 0.2em;
	margin: 0.75em 0;
	padding: 0.5em 0;
}
.notice .info ul  li {
	display: inline-block;
	padding: 0.25em 1em;
	vertical-align: top;
}
@media screen and (max-width: 500px) {
	.notice .info ul li {
		display: block;
	}
	.notice .info br {
		display: none;
	}
}
/*----------------------------\
--        SLIDESHOWS         --
\----------------------------*/

div.home-slides {
	max-width: 960px;
	width: 100%;
	position: relative;
}
div.home-slides-border {
	background: url('img/border-collage.png') no-repeat;
	background-size: 100%;
	width: 100%;
	position: relative;
	top: 0;
	z-index: 100;
}
div.home-slides-border > img {
	width: 100%;
	height: auto;
}
div.home-slides > div.slideshow {
	position: absolute;
	top: 0;
	z-index: 50;
	width: 100%;
}
div.slideshow > img {
	width: 100%;
	height: auto;
}
/*----------------------------\
--         COLUMNS           --
\----------------------------*/

.col {
	display: inline-block;
	margin-left: 3%;
	margin-bottom: 20px;
}

.full .col {
	clear: both;
	float: none;
	margin-right: 3%;
	width: 94%;
}
.half .col {
	width: 45.5%;
}
.third .col {
	width: 29.33%;
}
.split-right {
	float: left;
	width: 23%;
}
.split-left {
	float: right;
	margin-left: 0;
	margin-right: 3%;
	width: 66%;
}
/* clear col */
.third .col:nth-of-type(3n+1),
.half .col:nth-of-type(2n+1) {
	clear: both;
}

/*---------------------\
--       FIGURES      --
\---------------------*/

figure {
	border-radius: 0.25em;
	-webkit-border-radius: 0.25em;
	position: relative;
}
figure h2 {
	color: #900;
	font: 2.25em "george_bubble", Verdana, san-serif;
	padding: 0;
	text-align: center;
	text-shadow: 0px 1px 1px #000;
}
figure img {
	border-radius: 0.2em;
	box-shadow: 0px 0px 5px #000;
	-webkit-box-shadow: 0px 0px 5px #000;
	display: block;
	margin: 0 2%;
	overflow: hidden;
	width: 96%;
	height: auto;
}
figure figcaption {
	color: #900;
	font: 1.35em "george_hand", Verdana, san-serif;
	padding: 0;
	text-align: center;
	text-shadow: 0px 1px 1px #000;
}

/*-------------------------\
--         FOOTER         --
\-------------------------*/

footer {
	background: url('img/afc-foot-bg.png') repeat-x #600;
	background-position: 0 -1px;
	box-shadow: 0px 0px 5px #000;
	-webkit-box-shadow: 0px 0px 5px #000;
	color: #FFF;
	margin: 0;
	padding: 1em 0;
	position: relative;
	max-width: 960px;
	width: 95%;
	margin: 0 auto 10px auto;
}
footer:before {
	background: url('img/wheat.png') no-repeat;
	content: '';
	display: block;
	height: 75px;
	width: 187px;
	position: absolute;
	margin: 0 2%;
	top: -25px;
}
footer p {
	line-height: 2em;
	padding: 0 1.75em;
}
footer a {
	color: #FFF;
	font-weight: bold;
}
footer a:hover {
	color: #C00;
}
@media screen and (max-width: 600px) {
	footer {
		width: 100%;
	}
}

/*----------------------------\
--       WRITINGS            --
\----------------------------*/

.writings  {
	font-family: "george_hand", Verdana, san-serif;
	text-align: center;
}
.sm {
	font-size: 1em;
}
.lg {
	font-size: 1.75em;
}
.md {
	font-size: 1.4em;
}
.home .sm {
	font-size: 1.45em;
}
.home .md {
	font-size: 1.85em;
}
.home .lg {
	font-size: 2.5em;
}
.red {
	color: #900;
}
@media screen and (max-width: 500px) {
	.home .sm {
	font-size: 1.25em;
	}
	.home .md {
		font-size: 1.5em;
	}
	.home .lg {
	font-size: 2em;
	}
}

/*------- OPEN TABLE MODS --------------*/
.opentable {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}
div.OT_wrapper {
	background: none;
	border: 0;
	width: 100%;
}
form#OT_form {
	width: 100%;
}
div.OT_header {
	width: 100%;
}
h1.OT_title,
h2.OT_subtitle {
	text-align: center;
	width: 100%;
}
ul.OT_list {
	width: 100%;
}
li.OT_day,
li.OT_time,
li.OT_party,
li.OT_submit {

	border: 0;
	width: 150px;
	margin: 5px auto;
}
input#datepicker.OT_searchDateField.hasDatepicker,
input#ResTime.OT_searchTimeField,
input#PartySizeFake.OT_searchPartyField {
	width: 140px;
}
a.OT_ExtLink {
	padding: 10px 0;
	width: 100%!important;
}
ul#OT_timeList.OT_navList,
ul#OT_partyList.OT_navList {
	top: 23px;
	left: 14px;
}
/*-------------------------------------\
----------------------------------------
--									  --
--             @ MEDIA                --
--             QUERIES                --
--                                    --
----------------------------------------
\-------------------------------------*/

@media screen and (max-width: 791px) {
	.col {
		width: 94% !important;
		margin-left: 3% !important;
		clear: left !important;
	}
}
	
@media screen and (max-width: 500px) {
	article img.alignleft,
	article img.alignright {
		display: block;
		float: none;
		margin: 0 auto;
		padding: 0;
	}
	
}