/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #111;
}

body {
    font-size: 1em;
    line-height: 1.4;
	color: #111;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
	background-color: #fd7400;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    Main
   =================== */

.header-container {
    border-bottom: 5px solid #ff9b47;
}

.footer-container,
.main aside {
    border-top: 5px solid #ffc593;
}

.main-container {
	background-color: #FFFFFF;
}

.header-container,
.footer-container,
.main aside {
    background: #fd7400;
}

/* Styles for verification */
#pswd_info span {
    display: block;
}
#pswd_info {
    padding:15px;
    background:#fefefe;
    font-size:.875em;
    border-radius:5px;
    box-shadow:0 1px 3px #ccc;
    border:1px solid #ddd;
    margin-top: 20px;
}
#pswd_info h4 {
    margin:0 0 10px 0;
    padding:0;
    font-weight:normal;
}

.invalid {
    background:url(/img/invalid.png) no-repeat 0 50%;
    padding-left:22px;
    line-height:24px;
    color:#ec3f41;
}
.valid {
    background:url(/img/valid.png) no-repeat 0 50%;
    padding-left:22px;
    line-height:24px;
    color:#3a7d34;
}

/* ==============
    Menu
   ============== */

nav ul {
    margin: 25px 0 0 0;
    padding: 0;
}
nav ul li a {
    padding: 10px;
}
nav a {
    width: 110px;
    float: right;
    margin: 10px 0 0 10px;

	font-size: 0.9em;
	line-height: 1.4em;
	
    display: block;
    padding: 5px 0;

    text-align: right;
    text-decoration: none;
    font-weight: normal;

	color: #FFFFFF;
	
	border: solid 1px #ffc593;
	min-height: 40px;
	
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
}
nav a:visited {
}
nav a:hover {
	color: #999999;
	background: #FbFbFb;
}

/* ==============
    Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 1.6em;
}

.main h1 {
    font-size: 1.6em;
    line-height: 110%;
    color: #333;
}
.main h2 {
    font-size: 1.3em;
    line-height: 110%;
    color: #333;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: #ffc593;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#title {
    color: #ffc593;
    font-size: 1.3em;
    padding-top: 20px;
    padding-left: 4px;
    margin-bottom: 15px;
    font-weight: normal;
	float: left;
}

#logoblock {

}
#logodivider {
    float: left;
    margin: 0 20px;
}
#logomain, #logojobmeal {
    float: left;
}

#statusarea {
	float: right;
	text-align: right;
	line-height: 1.4em;
	width: 40%;
	margin: 15px 0 15px 0;
}

a {
    text-decoration: none;
    font-weight: normal;
    color: #333;
}
a:hover {
    color: #111;
    text-decoration: underline;
}
a:visited {
}

/* styles for crud markup */
ul.record_actions {
	list-style-type: none;
	padding: 0;
	margin-top: 20px;
	padding-top: 20px;
	border-top: solid 1px #999;
}
ul.record_actions li {
	margin-top: 20px;
}

ul.record_new {
	list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: solid 1px #999;
}
ul.record_list {
	list-style-type: none;
    padding: 0;
    margin-bottom: 2px;
    padding-bottom: 2px;		
}
ul.record_list li {
	display: inline;
}
ul.record_list li a {
	border: solid 1px #BBB;
	background: #EEE;
	padding: 3px 6px 3px 6px;
     -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    white-space: nowrap;
    line-height: 2em;
}

ul.inline-error {
	list-style-type: none;
    padding: 0;
	color: #e2001a;
	font-size: 1.2em;
}

table.records_list {
	font-size: 0.9em;
	line-height: 1.3em;
	border-collapse: collapse;
	width: 100%;
	margin: 20px 0;
}
table.records_list caption {
	font-weight: bold;
	text-align: left;
	padding: 5px;
	margin-bottom: 2px;
}
table.records_list thead th {
	background: #DDDDDD; 
	border-right: 1px solid #EEEEEE;
	padding: 6px 10px 6px 10px;
    font-weight: bold;
    text-align: left;
}
table.records_list foot {
	padding: 2px;
	font-weigth: bold;
	margin-top: 6px;
	border-top: 2px solid #DDDDDD;
}
table.records_list tbody tr {
	border-bottom: 1px solid #999999;
}
table.records_list tbody td {
	border-right: 1px solid #999999;
	padding: 4px 10px 4px 10px;
	text-align: left;
    vertical-align: top;
}
table.records_list tfoot tr {
    border-top: 1px solid #999999;
    background-color: #DDDDDD;
}
table.records_list tfoot tr:last-child {
    border-bottom: 1px solid #999999;
}
table.records_list tfoot td {
    border-right: 1px solid #F1F1F1;
    padding: 10px 10px 10px 10px;
    text-align: left;
}
table.records_list tbody td:last-child {
	border-right: none;
}
table.records_list tbody th {
	padding: 2px;
}
table.records_list tbody td a, tbody th a {
}
table.records_list tbody td a:hover, tbody th a:hover {
}

table.record_properties {
    font-size: 0.9em;
    line-height: 1.3em;
    border-collapse: collapse;
    margin: 20px 0;
}
table.record_properties caption {
    font-weight: bold;
    text-align: left;
    padding: 5px;
    margin-bottom: 2px;
}
table.record_properties thead th {
    background: #DDDDDD; 
    border-right: 1px solid #EEEEEE;
    padding: 6px 10px 6px 10px;
    font-weight: bold;
}
table.record_properties foot {
    padding: 2px;
    font-weigth: bold;
    margin-top: 6px;
    border-top: 2px solid #DDDDDD;
}
table.record_properties tbody tr {
    border-bottom: 1px solid #999999;
}
table.record_properties tbody td {
    border-right: 1px solid #F1F1F1;
    padding: 4px 10px 4px 10px;
    text-align: left;
}
table.record_properties tbody td:last-child {
    border-right: none;
}
table.record_properties tbody th {
    text-align: left;
    padding: 2px;
}

.red {
	color: #e2001a;
}
.green {
    color: #8bbb00;
}
.mini {
	font-size: 0.9em;
}
.verymini {
    font-size: 0.7em;
    line-height: 1.3em;
}
.veryminiannotation {
    font-size: 0.8em;
}
.alert {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.production_flag {
    font-size: 0.7em;
    border: solid 1px #BBB;
    background: #EEE;
    padding: 3px 4px 1px 4px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

ul.formee-list {
}
ul.formee-list li {
    border: solid 1px #CCCCCC;
    padding: 10px;
}

/* markers for production lists */
.soup {
    background-color: #dddddd;
}
.meal1 {

}
.meal2 {
    background-color: #dddddd;
}
.meal3 {

}
.meal4 {
    background-color: #dddddd;
}
.dessert {
    background-color: #dddddd;
}

.loginbutton {
    margin-top: 30px;
}

.grey-box {
    padding: 20px;
    margin: 5px 0;
    font-size: 1.4em;
    line-height: 1.4em;
    background-color: #ebf0f2;
    border-radius: 4px
}

.label .math-symbol::before, label .math-symbol::before {
    content: " + ";
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 640px) {

    .header-container {
        /*background-color: #3252ff;*/
    }

    #logomenuitemclear {
        clear: both;
    }
    #logoblock {
        width: 100%;
    }
    #logodivider {
        display: none;
    }
    #logomain {
        width: 50%;
        float: left;
    }
    #logomain a img {
        width: 80%;
        height: auto;
    }
    #logojobmeal {
        width: 50%;
        float: right;
    }
    #logojobmeal a img {
        width: 85%;
        height: auto;
        float: right;
    }

    nav a {
        float: right;
        width: 17%;
        min-width: 90px;
        margin: 0 1.7%;
        padding: 8px 2%;
        margin-top: 5px;
    }

    nav li:first-child a {
        margin-right: 0;
    }

    nav li:last-child a {
        margin-left: 0;
    }

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

    #statusarea {
        width: 100%;
    }
    #title {
        font-size: 1.2em;
        width: 100%;
    }

    .formee-button {
        font-size: 1em !important;
        font-weight: normal !important;
    }

    .grid-1-12 {
        width: 100% !important;
    }
    .grid-2-12 {
        width: 100% !important;
    }
    .grid-3-12 {
        width: 100% !important;
    }
    .grid-4-12 {
        width: 100% !important;
    }
    .grid-5-12 {
        width: 100% !important;
    }
    .grid-6-12 {
        width: 100% !important;
    }
    .grid-7-12 {
        width: 100% !important;
    }
    .grid-8-12 {
        width: 100% !important;
    }
    .grid-9-12 {
        width: 100% !important;
    }
    .grid-10-12 {
        width: 100% !important;
    }
    .grid-11-12 {
        width: 100% !important;
    }

    .mobile_single_order_divider {
        margin-top: 25px;
    }

    .loginbutton {
        margin: 0;
        float: left;
    }
}

@media only screen and (min-width: 641px) and (max-width: 1099px) {

    .header-container {
        /*background-color: #00ff47;*/
    }

    #logomenuitemclear {
        clear: both;
    }
    #logoblock {
        width: 100%;
    }
    #logodivider {
        display: none;
    }
    #logomain {
        float: left;
    }
    #logojobmeal {
        float: right;
    }

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

    nav ul {
        margin: 0;
        padding: 0;
    }

    .title {
        float: left;
    }

    nav a {
        float: right;
        width: 110px;
        margin: 0 1.7%;
        padding: 8px 2%;
        margin-top: 5px;
    }

    nav li:first-child a {
        margin-right: 0;
    }

    nav li:last-child a {
        margin-left: 0;
    }

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

    #statusarea {
        width: 60%;
    }
    #title {
        width: 35%;
        font-size: 1.1em;
        padding-top: 10px;
    }

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }

    .formee-button {
        font-size: 1.1em !important;
        font-weight: normal !important;
    }

    .grid-1-12 {
        width: 11% !important;
    }
    .grid-2-12 {
        width: 23% !important;
    }
    .grid-3-12 {
        width: 43% !important;
    }
    .grid-4-12 {
        width: 43% !important;
    }
    .grid-5-12 {
        width: 100% !important;
    }
    .grid-6-12 {
        width: 100% !important;
    }
    .grid-7-12 {
        width: 100% !important;
    }
    .grid-8-12 {
        width: 100% !important;
    }
    .grid-9-12 {
        width: 100% !important;
    }
    .grid-10-12 {
        width: 100% !important;
    }
    .grid-11-12 {
        width: 100% !important;
    }

    .loginbutton {
        margin: 0;
        float: left;
    }
}

@media only screen and (min-width: 1100px) {

    .header-container {
        /*background-color: #ff3a00;*/
    }

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

.show-only-in-print-view, .show-only-in-print-view * {
    display: none;
}

@media print {
    * {
        /*background: transparent !important;*/
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
    .header-container, .footer-container {
        display: none;
    }
    .hide-in-print-view {
        display: none;
    }
    .show-only-in-print-view, .show-only-in-print-view * {
        display: block;
    }
}