﻿/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */

/* #Site Styles
================================================== */

body {
	font-family: 'Open Sans', sans-serif;
}

.container {
	width: 960px;
	margin: 0 auto;
}

.page_title {
	float: left;
}

#logo {
	float: right;
}

#wimd-logo {
    width: 351px;
}

.clear {
	clear: both;
}

h1 {
	font-size: 30px;
}

td {
	padding: 5px;
	height: 30px;
	vertical-align: bottom;
}

.allergen_information {
	float: left;
}

.table_title {
	color: black;
	text-align: center;
	background-color: #bbb;
	border-bottom: 1px solid #fff;
}

div.rotate {
	margin-left: -42px;
	position: absolute;
	width: 110px;
	margin-top: -55px;
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg); /* Safari/Chrome */
	-moz-transform: rotate(-90deg); /* Firefox */
	-o-transform: rotate(-90deg); /* Opera */
	-ms-transform: rotate(-90deg); /* IE 9 */
}

td.rotate {
	height: 95px;
	line-height: 14px;
	padding-bottom: 20px;
	text-align: left;
	width: 25px;
}

.allergens td {
	border-right: 1px solid #fff;
	border-top: 1px solid #fff;
    border-bottom: 1px solid white;
}

.menu_item td img {
    height: 16px;
}

.menu_item td {
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
}

.area, .meal {
	color: white;
	font-weight: bold;
	padding: 5px 10px;
	text-transform: uppercase;
}

.area {
	background-color: #333;
	font-size: 20px;
}

.meal {
	background-color: #666;
	font-size: 16px;
}

table {
	font-size: 12px;
    border-spacing: 0;
    border-collapse: separate;
}

.tr-mobile {
    display: none;
}

.allergens {
	background-color: #bbb;
    color: black;
    border-bottom: 1px solid white;
}

.suitable_for {
	float: left;
	margin-top: 121px;
	margin-left: 20px;
}

.allergens.dummy td, .allergens.dummy td.rotate {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* #Page Styles
================================================== */

/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/

.row {
    padding-top: 15px;
    padding-bottom: 15px;
}

.small {
    font-size: 80%;
}

.allergen-checkboxes {
    margin-top: 5px;
    width: 100%;
    margin-bottom: 15px;
}

.allergen-checkboxes ul {
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    width: 100%;
}

.allergen-checkboxes li{
    display: inline-block;
    width: 24%;
    font-size: 12px;
}

.allergen-checkboxes li input[type="checkbox"] {
    vertical-align: middle;
}

.allergen-checkboxes li label{
    vertical-align: middle;
}

#mainTable table {
    background-color: #fff
}

.tdh2 {
    background-color: #333;
}

.tdh3 {
    background-color: #BBB;
    color: black !important;
}

.tdh2, .tdh3 {
    color: #fff; 
    font-size: 14px;
    height: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid #fff;
}

[data-bind*="click"] {
    cursor: pointer;
}

.powered-by-psl-logo {
    margin-bottom: 2000px;
}

.recipe-name {
    vertical-align:  middle;
    /*text-transform: capitalize;*/
}


.recipe-name.indented {
    padding-left: 36px;
}

td.allergen-cell {
    text-align: center;
}

.tr-mobile td {
    vertical-align: middle;
}

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {
        .container {
            width: 95%;
        }

        #headerTable {
            display: none;
        }

        .legend {
            display: none;
        }

        .tr-main {
            display: none;
        }

        .tr-mobile {
            display: table-row;
        }

        td.allergen-cell {
            text-align: left;
        }

        .allergen-checkboxes li {
            width: 30%;
            font-size: 16px;
            padding: 4px 0 4px 0;
        }
	}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
        .allergen-checkboxes li {
            width: 40%;
        }
	}

    @media only screen and (max-width: 660px) {
        .allergen-checkboxes li {
            width: 100%;
        }
    }

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
        #wimd-logo {
            width:100%;
        }
	}