/* Created by: Terry Cho, 2016
 * For use by The Sandwich Shop ONLY
 * This may not be used on any other websites
 * 
 * Minimum Width: 960px
 * Minimum Height: none;
 * 
 * Color Scheme: #FDCC00 - Yellow
 * 				 #a45200 - Light Brown
 * 
 */
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

body {
	background-color: #FF9;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	margin-bottom: 80px;
	min-width: 960px;
	min-height: 800px;
	width: 100%;
	font-size: 16pt;
	font-family: 'Open Sans', sans-serif;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
	color: #A45200;
}

ul {
	list-style: none;
	display: inline-block;
	margin: 0;
	padding: 0;
}

hr {
	border-top: 1px solid black;
}

.noselect {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;   
}

/* Temp -- MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    position: relative;
    display: block;
    background-color: #fefefe;
    margin: 100px auto auto auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: 10px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Navigation Bar */
#navbar {
	position: fixed;
	background-color: #FDCC00;
	opacity: 0.92;
	top: 0;
	min-width: 960px;
	width: 100%;
	font-size: 2em;
	line-height: 118px;
	height: 118px;
	z-index: 10;
	font-family: 'Wendy One', sans-serif;
}

#navbar-button-wrapper {
	position: relative;
	display: block;
	margin: auto;
	height: 118px;
	width: auto;
	text-align: center;
}

.navbar-button {
	height: inherit;
	display: inline-block;
	position: relative;
	vertical-align: middle;
	margin-left: 0.5em;
	margin-top: -8px;
}

.navbar-button:first-child {
    margin-left: 0;
}

/* Body Content */
#wrapper {
    display: block;
    min-width: 976px;
    max-width: 1376px;
    width: 80%;
    background: #804000;
    margin-left: auto;
    margin-right: auto;
    margin-top: 160px;
    border: solid black;
}

#content {
    padding: 5px 8px 5px 8px;
    margin: 12px;
    min-width: 936px;
    max-width: 1336px;
    width: auto;
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -webkit-box-flex-wrap: wrap;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex-wrap: wrap;         /* OLD - Firefox 19- */
    -webkit-flex-wrap: wrap;          /* Chrome */
    -ms-flex-wrap: wrap;              /* IE 10 */
    flex-wrap: wrap;
    background: white;
    border-radius: 15px;
    border: solid #000;
    border-width: 2px;
    
}

.bg-bubble {
    width: auto;
    background: #FFF;
    border-radius: 15px;
    border: solid #000;
    border-width: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

/* Home Page ----------*/
/* Sidebar */
#sidebar {
	width: 360px;
	margin-left: 10px;
	margin-right: auto;
	position: relative;
	border-left: dotted #000000;
}

.sidebar-hours {
	width: 340px;
	margin: 0 auto;
	padding: 7px 0 5px 0;
	height: auto;
	border: 3px solid #000000;
	border-radius: 15px;
	background: white;
	font-size: 1.225em;
}

.sidebar-status {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding: 0 3px;
	font-family: 'Wendy One', sans-serif;
	font-size: 1.2em;
	text-align: center;
}

.sidebar-status h1 {
    margin: 10px 0;
}

.sidebar-status-open {
    color: #00FF00;
    font-size: 1.2em;
}

.sidebar-status-closed {
    color: #FF0000;
    font-size: 1.2em;
}

.sidebar-business-hours {
	text-align: left;
	font-style:oblique;
	border: none;
	background: none;
}

.sidebar-business-hours:first-child {
	width: 140px;
}

.sidebar-business-hours-table {
	margin-left: 20px;
}



.facebook-page {
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	display: block;
	width: 340px;
	height: 150px;
	border: none;
	overflow: none;
}

/* Announcement */
#announcement {
    position: absolute;
    text-align: center;
    width: 700px;
    font-size: 32px;
    top: 125px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
       -moz-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
         -o-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
}

@media screen and (max-width: 960px) {
    #announcement {
        left: 130px;
        -webkit-transform: translate(-50%, 0);
        -moz-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
}

/* Messages */
#msg-wrapper {
	position: relative;
	width: 200px;
	-webkit-box-flex-grow: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex-grow: 1;         /* OLD - Firefox 19- */
    -webkit-flex-grow: 1;          /* Chrome */
    -ms-flex-grow: 1;              /* IE 10 */
    flex-grow: 1;
}

#msg-welcome {
    
}

#msg-news {
    
}

/* Slideshow CSS */
.ft-photos {
	width: 100%;
	background: #804000;
	margin-bottom: 20px;
	overflow: hidden;
	border: solid black;
	border-width: 5px;
	border-radius: 15px;
	border-collapse: collapse;
}

.ss-slides {
	display: block;
	margin: 0 auto;
	min-width: 950px;
	min-height: 400px;
	width: 100%;
	border-bottom: 6px solid black;
}

.ss-buttons {
	display: block;
	position: relative;
}

.ss-button-left, .ss-button-right, .ss-button-circle {
	cursor: pointer;
	display: inline-block;
}

.ss-button-left, .ss-button-right {
	width: 20px;
	height: 20px;
	font-size: 1.5em;
	line-height: 36px; 
}

.ss-button-circle:hover {
	animation-name: ss-button-toWhite;
	animation-duration: 0.3s;
	animation-fill-mode: forwards;
}

.ss-button-left:hover, .ss-button-right:hover {
	animation-name: ss-button-colorShift;
	animation-duration: 0.3s;
	animation-fill-mode: forwards;
}

@keyframes ss-button-toWhite {
	from {background-color: none;}
	to {background-color: #FFFFFF;}
}

@keyframes ss-button-colorShift {
	from {color: #FDCC00;}
	to {color: #FF9;}
}

.ss-button-left {
	float: left;
	padding-left: 10px;
	color: #FDCC00;
}

.ss-button-right {
	float: right;
	padding-right: 30px;
	text-align: right;
	color: #FDCC00;
}

.ss-button-circle {
	border-radius: 50%;
	border-color: #FFFFFF;
	border-style: solid;
	height: 15px;
	width: 15px;
	padding: 0;
}

.ss-circles {
	margin-left: auto;
	margin-right: auto;
	width: 80px;
	padding-top: 5px;
	text-align: center;
}

.ss-button-circle-white {
	background-color: #FFFFFF;
}

/* Menu Page --------- */
.menu-table td {
	padding: 5px 5px 5px 10px;
}

.menu-table {
	margin-top: 15px;
	margin-bottom: 15px;
	width: 100%;
	border-collapse: collapse;
	border: solid black;
	table-layout: fixed;
	font-size: 0.76em;
}

.menu-table td:hover {
	background-color: #53ff1a;
}

.menu-table tr {
	border: black solid;
}

.menu-table tr:nth-child(n+8):nth-child(-n+21) {
	border: none;
}

td.menu-price-td {
	border: solid black;
}

.menu-cell-price {
	text-align:right;
	width: 65px;
	border-left: dotted black;
	float: right;
	vertical-align: middle;
}

.menu-cell-tag {
	height: 100%;
	float: left;
}

.menu-lunch-table-row td:nth-child(even) {
	border-left: solid black;
	border-right: solid black;
}

.menu-inner-table {
	width: 100%;
	height: 100%;
	background-color: white;
	border: solid black;
	border-collapse: collapse;
}

.menu-inner-table td:hover {
	background-color: #53ff1a;
}
/* End Menu Page ---------- */

/* Contact Page --------- */
textarea {
	resize: none;
}

.contact-error {
	display: inline-block;
}

.r {
	color: red;
	font-style: italic;
}

/* End Contact Page --------- */

/* Footer */
footer {
	position: fixed;
	display: block;
	background: #FDCC00;
	bottom: 0;
	left: 0;
	margin: 0;
	width: 100%;
	height: 70px;
	text-align: center;
	font-size: 12pt;
}

.footer {
	position: absolute;
	width: 100%;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
       -moz-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
         -o-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
}