/*  
Theme Name: Fritz Gelato
Theme URI: http://fritzgelato.com/
Description: Fritz Gelato Site Theme
Version: 1.1
Author: Jonathan Poh
Author URI: http://jonathanpoh.com/

	Fritz Gelato v1.1

	*** REGARDING IMAGES ***
	All CSS that involves the use of images, can be found in the 'index.php' file.
	This is to ease installation inside subdirectories of a server.

*/

html {
	height: 100%;
	margin-bottom: 2px;
	}
	
body {
	margin: 0 0 0 0;
	padding: 0;
	background: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 62.5%; /* Resets 1em to 10px */
	}
	
	
h1 {
	font-size: large;
	}
	
h2 {
	font-size: 1.6em;
	}

h3 {
	font-size: 1.2em;
	margin-top: 1em;
	}

h4 {
	font-size: 1.1em;
	font-weight: bold;
	margin: 0;
	}
	
h3.date {
	color:#999;
	margin: 0;
	font-size: 1.6em;
}

h3.link {
	color:#0071BC;
}


a:link, a:visited {
	color: #BC00B6;
	font-weight: bold;
	text-decoration: none;
	}

a:hover, a:active {
	color: #FF0000;
	}

img {
	border: 0px;
	padding: 0;
	margin: 0;
	display: block;
	}
	
label {
	font-weight: bold;
}

p {
	margin: 0 0 1em 0;
}
	
.clear {
	clear: both;
	}

#frame {
	margin: 0 auto;
	padding: 0;
	width: 720px;
	background: #FFFFFF;
	border-top: none;
	border-right: solid 1px #000;
	border-bottom: none;
	border-left: solid 1px #000;
	background: #EEEEEE url(images/bg-gelatois.gif) repeat-y top left;
	overflow: hidden;
	
	}

#header {
	color: #FFFFFF;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	background: #000;
	height: 100px;
	}
	
#header img {
	display: block;
	float: right;
	margin: 0;
	padding: 0;
	}
	
#header h1 {
	margin: 0;
	padding: 0;
	}	
	
#sidebar {
	width: 220px;
	margin: 0 0 0 0px;
	padding: 20px 20px 0 20px;
	float: right;
	}
	

	
#maincolumn {
	margin: 0 0 0 0;
	padding: 0px 0px 0 0px;
	float: left;
	width: 460px;
	}
	
#footer {
	margin: 0 auto;
	color: #FFFFFF;
	font-size: small;
	background: #000000;
	padding: 0;
	width:720px;
	height: 30px;
	clear: both;
	border-top: none;
	border-right: solid 1px #000;
	border-bottom: solid 1px #000;
	border-left: solid 1px #000;
	}


#copyright {
	margin: 0 auto;
	width:720px;
	clear: both;
	font-size: 1em;
	text-transform: uppercase;
	color: #CCC;
	background: #FFF;
	display: block;
	padding: 0 2em 1em 2em;
	overflow: auto;
	}

#copyright a:link, #copyright a:visited {
	color: #CCC;
	}

#copyright a:hover, #copyright a:active {
	color: #9999FF;
	}

	
#content {
	padding: 1em 2em 0 2em;
	font-size: 1.2em;
	clear: both;
	}
	
/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */
	
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
	
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}
	
.alignleft {
	float: left;
	}
	

	

		
#storeview {
	height:166px;
}


	
#sidebar p {
	font-size: 1.2em;
	margin:0 10px;
}

#sidebar h3 {
		margin:0 10px;
		
}

#sidebar .roundbox {
	margin: 0 0 20px 0;
	padding: 0 0 18px 0;
}

#sidebar .roundbox p {
		padding:10px 0 0 0;
}

/*#sidebar #suggestaflavour {
		margin:20px 0 20px 0;
		background: #FFF;
	}*/
	
.newsitem h2, .newsitem h3, .newsitem p {
	margin-top: 0;
}

.newsitem h3 {
	margin-bottom: 0;
}

.navigation {
	margin-bottom: 1em;
	overflow: auto;
}


/* Image Replacement */
#sidebar h2.swap {
	  background-repeat: no-repeat;
	  background: transparent;
	  overflow: hidden;
	  width: 220px;
	  margin:0;
	  padding: 26px 0 0 0;
	  height: 0 !important;
	  height /**/:26px;
	}


#sidebar h2#h2-storeview {
	  background-image: url(images/h2-storeview.gif);
}
		
#sidebar h2#h2-flavourofthemoment {
	  background-image: url(images/h2-flavourofthemoment.gif);
}

#sidebar h2#h2-suggestaflavour {
	  background-image: url(images/h2-suggestaflavour.gif);
}

#sidebar h2#h2-tellafriend {
	  background-image: url(images/h2-tellafriend.gif);
}

#sidebar .roundbox {
	background: #fff url(images/bg-boxbottom.gif) no-repeat left bottom;
}

/*#sidebar #suggestaflavour.roundbox {
	background: #FFD133 url(images/bg-boxbottomyellow.gif) no-repeat left bottom;
}
*/	
#flavourofthemoment {
	text-align: center;
}

#flavourofthemoment h3 {
	margin: 1em 0 0 0 ;
	font-size: 1.4em;
}

#flavourofthemoment img {
	margin: 0 auto;
}

#sidebar2 {
		width: 220px;
		margin: 0 0 0 0px;
		padding: 30px 20px 0 20px;
		float: right;
		}
		
ul.subnav {
		margin: 0 auto;
		padding:0;
		list-style: none;
		float: right;
}
		
ul.subnav li {
	margin: 0 auto;
	list-style: none;
	float: left;
	font-weight: bold;
	font-size: 1.1em;
}

ul.subnav a {
	display: block;
	padding: 0.8em;
	}

ul.subnav a:link, ul.subnav a:visited {
	text-decoration: none;
	background: #CCC;
	color: #333;
}

ul.subnav a:hover, ul.subnav a:active {
	text-decoration: none;
	background: #FF6BFA;
	color: #333;
}


/* Navigation Bar */

#navigation {
	background: #CCCCCC;
	margin: 0 0 0 0;
	width: 100%;
/*		overflow: auto;*/
	float: left;
	border-bottom: solid 1px #000; 
	}
	
/*#navigation ol {
	list-style: none;
	padding: 0.8em 0.5em;
	margin: 0 0 0 0;
	background: transparent;
	}
	
#navigation li {
	list-style: none;
	display: inline;
	padding: 0 0.5em;
	font-size: 1.4em;
	text-transform: uppercase;
	}
	
*/
	

	
/*#navigation li li {
		width: 100%;
}
*/
ul#nav { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	background:#CCCCCC;
}

ul#nav li { /* all list items */
	float: left;
	position: relative;
/*	width: 8em; */
	list-style: none;
	text-transform: uppercase;
	padding: 0 .7em;
	font-size: 1.4em;
	background:#CCCCCC;
	}

ul#nav li ul { /* second-level lists */
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	margin: 0 .7em;
	padding:0;
	width: 12em;
	border-top: solid 1px #666;
	border-left: solid 1px #000;
	border-right: solid 1px #000;
	border-bottom: solid 1px #000;
	z-index: 10;
	background:#CCCCCC;
	}

ul#nav li li { /* second-level list items */
		font-size: 1em;
		margin: 0;
		padding:0;
		width: 12em;
		float: none;
}

ul#nav li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
	top: auto;
	left: 0;
}

ul#nav li:hover ul, ul#nav li.over ul { /* lists nested under hovered list items */
	display: block;
}

ul#nav a:link, ul#nav a:visited {
	font-weight: normal;
	color:#000;
	text-decoration: none;
	display: block;
	padding: 0.5em;
	}

ul#nav a:hover, ul#nav a:active {
	font-weight: normal;
	color: #FFF;
	text-decoration: none;
	background: #666;
}


#page-gelato a#a-gelato:link, #page-gelato a#a-gelato:visited { background: #FF99FF; }
#page-coffee a#a-coffee:link, #page-coffee a#a-coffee:visited { background: #FF99FF; }
#page-donuts a#a-donuts:link, #page-donuts a#a-donuts:visited { background: #FF99FF; }
#page-careers a#a-careers:link, #page-careers a#a-careers:visited { background: #FF99FF; }
#page-franchise a#a-franchise:link, #page-franchise a#a-franchise:visited { background: #FF99FF; }
#page-about a#a-about:link, #page-about a#a-about:visited { background: #FF99FF; }
#page-story a#a-story:link, #page-story a#a-story:visited { background: #FF99FF; }
#page-history a#a-history:link, #page-history a#a-history:visited { background: #FF99FF; }
#page-awards a#a-awards:link, #page-awards a#a-awards:visited { background: #FF99FF; }


table.twocol {
	border-top: solid 1px #CCC;
	border-left: solid 1px #CCC;	
	width: 100%;
	margin-bottom: 1em;
	clear: both;
}

table.twocol tr td {
	width: 50%;
	vertical-align: top;
	border-right: solid 1px #CCC;
	border-bottom: solid 1px #CCC;
	padding: 1em;
}

table.twocol tr th {
	padding: 0.5em;
	background: #CCC;
	color: #000;
	font-weight: bold;
	font-size: 1.2em;
	}

/* Page-specific styles */

#page-careers h3, #page-locations h3 {
	margin-bottom: 0;
}

#page-careers p, #page-locations p {
	margin-top: 0;
}

#page-awards dl {
	margin: 0;
}

#page-awards dt {
	margin: 1.5em 0 0 0;
	font-weight: bold;
}

#page-awards dd {
	margin: 0.5em 0 0.5em 2em ;
}

#page-gelato dl {
	margin: 0 0 0 2em;
}

#page-gelato dt {
	margin: 1em 0 0 0;
	font-weight: bold;
	font-size: 1.2em;
	color: #666;
}

#page-gelato dd {
	margin: 0.5em 0 0.5em 2em ;
}

#page-gelato #content ul {
	margin: 0 0 2.5em 0em;
	padding: 0;
}

#page-gelato #content li {
	padding: 0;
	margin: 0.7em;
	list-style: none;
}

#page-coffee #content ul {
	margin: 0 0 0 2em;
	padding: 0;
}

#page-coffee #content ul li {
	list-style: none;
	margin: 0.5em 0 0.5em 0;
	padding: 0;
}

#page-jobapp table.twocol {
	width: auto;
	margin-top: 1em;
}

#page-jobapp table.twocol tr td, #page-jobapp table.twocol tr th {
/*	width: 160px !important;*/
	padding-left: 0;
	padding-right: 0;
}

#page-jobapp table.twocol tr td {
	padding: 0;
}

#page-jobapp table.twocol tr td input {
	margin-bottom: 0;
}

#page-jobapp table.twocol tr th {
	font-size: 1em;
}

#page-flavours table ul {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

#page-flavours table li {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
	margin-bottom: 0.5em;
}
/*Forms*/

#jobapp-form form {
	margin-bottom: 4em;
}

#jobapp-form label {
	width: 190px;
	text-align: right;
	display: block;
	float: left;
	padding: 0.3em 0.2em 0.3em 0;
}

#jobapp-form input, #jobapp-form textarea {
	float: left;
	display: block;
	margin-bottom: 1em;
	width: 190px;
	}

#jobapp-form input.s {
	margin-left: 190px;
	padding-left: 0;
	float: none;
	width: auto;
}

#jobapp-form span {
	clear: both;
	display: block;
}


.subnav .current_page_item a:link, .subnav .current_page_item a:visited {
	background: #FF99FF !important;
}

