/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html{ -webkit-text-size-adjust:70%; }

html,
button,
input,
select,
textarea {
    color: #222;
}

 form, fieldset, legend, ol, li {
	margin: 0;
	padding: 0;
}


body {
    font-size: 1em;
    line-height: 1.4;
}

::-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;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    background: url('/img/header_bg.png') repeat-x bottom #c5e0ef;
}


.footer-container
{
   background: url('/img/footer_bg.png') repeat-x #00a2a4; 
	text-align:center;
}

.footer-container a
{
color:white;
}
.main aside {
background: #8dd463;
}

img.title{
 
    width:280px;
}

span.miles{
font-weight:bold;
color: #42b972;
font-size:1.5em;
}

span.miles1{
font-weight:bold;
color: #d58551;
font-size:1.5em;
}



/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;
	width:100%;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #00697E;
    background: #00a2a4;
}

nav a:hover,
nav a:visited {
    color: #00697E;
}

nav a:hover {
    text-decoration: underline;
}





/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2.3em;
   -moz-transform: rotate(2deg);  /* Firefox */
    -o-transform: rotate(2deg);  /* Opera */
    -webkit-transform: rotate(2deg);  /* Safari y Chrome */
    transform: rotate(2deg);  /* Safari y Chrome */
padding:10px;
  background:#e09e74;
  color:#fff;
  font-weight:normal;
text-align:center;
}

.main aside {
    color: white;
    padding: 0px 2% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}


#sideFloat{
background:url('/img/dregghead.png');
height:1px;
width:1px;
float:right;
position:relative;
top:15px;
}
	
#map{
height:300px;
width:300px;
}	
	

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 15%;
        margin: 0 1%;
        padding: 5px 1%;
        margin-bottom: 0;
          border:1px solid #fff;
  border-top-left-radius: 10px;
border-top-right-radius: 10px; 
 border-bottom:0px; 
background:#bbdddb;
    font-weight: normal;
font-size:90%
    }

nav .currentTab{
background:#00a2a4;
}


    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

  h1, h2,h3,h4{
  font-family: 'Love Ya Like A Sister', cursive;
  }
  
  h3.sidecalc{
color:#006335;
}
  
  
  h1.main-h1{
  background: url("/img/foodmilesh1.png");
  height:70px;
    width:430px;
    display: block;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
  }


#map{
height:450px;
width:450px;
}

#sideFloat{
background:url('/img/dregghead.png');
height:114px;
width:150px;
float:right;
position:relative;
top:15px;
}


/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
 }

/* ============
    WIDE: Menu
   ============ */

img.title{
 
    width:497px;
}

    nav {
        float: left;
        width: 100%;
    }

  
  nav a {
    padding: 5px 0  0;
    margin:0 0%;
    border-left:0;
  }
  
  nav a.currentTab {
  background:#00a2a4;
   color:#fff;
  }
  
   nav li:first-child a {
        border-left:1px solid #fff;
    }
/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 62%;
    }

    .main aside {
        float: right;
        width: 30%;
    }
	
	.hright{
	text-align:right;
	}
	.fMargRight{
	margin-right:200px;
	}

#headerFloat{
background:url('/img/mrstrawberry.png');
height:150px;
width:147px;
float:right;
position:relative;
top:95px;
right:50px;
}
	
.articleImgLeft{
float:left;
}

.newWrapper{
background:url('/img/header-right.png') top right no-repeat;
}



	
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .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: 150%;
}

.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
   ========================================================================== */

@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;
    }
}



/* ==========================================================================
   Custom Styles
   ========================================================================== */
form#foodmilesTracker {
		

counter-reset: fieldsets;

}

form#foodmilesTracker fieldset {
border: none;
margin-bottom: 10px;
}

form#foodmilesTracker fieldset:last-of-type {
margin-bottom: 0;
}

form#foodmilesTracker legend {
color: #fff;
font-weight: bold;
padding-bottom: 10px;
}

form#foodmilesTracker > fieldset > legend:before {
content: "Step " counter(fieldsets) ": ";
counter-increment: fieldsets;
}

form#foodmilesTracker fieldset fieldset legend {
color: #111111;
font-weight: normal;
padding-bottom: 0;
}

form#foodmilesTracker ol li {
background: #b9cf6a;
background: rgba(255,255,255,.3);
border-color: #e3ebc3;
border-color: rgba(255,255,255,.6);
border-style: solid;
border-width: 2px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
border-radius: 5px;
line-height: 30px;
list-style: none;
padding: 5px 10px;
margin-bottom: 2px;
}

form#foodmilesTracker ol ol li {
background: none;
border: none;
float: left;
}

form#foodmilesTracker .formP{
background: none;
border: none;
line-height: 15px;
padding:0;
margin:0 0 10px 0;
}




form#foodmilesTracker label {
float: left;
width: 110px;
color:#000;
}

form#foodmilesTracker fieldset fieldset label {
background:none no-repeat left 50%;
line-height: 20px;
width: auto;
}



form#foodmilesTracker fieldset fieldset label:hover {
cursor: pointer;
}

form#foodmilesTracker input:not([type=radio]),
form#foodmilesTracker textarea {
background: #ffffff;
border: none;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
border-radius: 3px;
outline: none;
padding: 5px;
width: 200px;
}

form#foodmilesTracker input:not([type=submit]):focus,
form#foodmilesTracker textarea:focus {
background: #eaeaea;
}

form#foodmilesTracker input[type=radio] {
float: left;
margin-right: 5px;
}

form#foodmilesTracker button {
background: #384313;
border: none;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
-khtml-border-radius: 20px;
border-radius: 20px;
color: #ffffff;
display: block;
letter-spacing: 1px;
margin: auto;
padding: 7px 25px;
text-shadow: 0 1px 1px #000000;
text-transform: uppercase;
}

form#foodmilesTracker button:hover {
background: #1e2506;
cursor: pointer;
}

img.articleImgRight{
float:right;
}


.smallestTag a{
font-size:0.8em;
margin:0 5px;

color:#aaa;
font-weight:bold;
}

.smallTag a{
font-size:1.1em;
margin:0 5px;
color:#aaa;

}

.mediumTag a{
font-size:1.4em;
margin:0 5px;
color:#999;

}

.largeTag a{
font-size:1.8em;
margin:0 5px;
color:#666;
}

.largestTag a{
font-size:2em;
margin:0 5px;
color:#005a00;
font-weight:bold;
}

#miles-cloud {
background:#fff;
border:1px solid #ddd;
padding:10px;
}

#EggForm fieldset ol {
padding: 1em 1em 0 1em;
list-style: none;
}
#EggForm fieldset li {
padding-bottom: 1em;
}
#EggForm fieldset.submit {
border-style: none;
}
#EggForm label {
float: left;
width: 15em;
margin-right: 1em;
font-weight:bold;
color:#0b7e9f;
}
#EggForm legend {
margin-left: 1em;
padding: 0;
color: #666;
font-weight: bold;
}
#EggForm fieldset {
float: left;
clear: both;
width: 100%;
background-color: #c5e0ef;
margin: 0 0 10px 0;
padding-bottom: 0px;
}
#EggForm fieldset.submit {
float: none;
width: auto;
border-style: none;
background-color: #fff;
text-transform:capitalize;
font-size:medium;
}

#EggForm .submit {
  color: #fff;
  border: none;
  font-weight: bold;
background:#00a2a4;
padding:4px;
}


#eggresults {
border:1px dotted #98E2F8;
font-size:1.2em;
color:#333;
padding:10px;
}

#eggresults b {
color:#000;
}

img.mobileImage {
  /* Responsive images (ensure images don't scale beyond their parents) */

  /* Part 1: Set a maxium relative to the parent */
  max-width: 100%;

  /* IE7-8 need help adjusting responsive images */
  width: auto\9;

  /* Part 2: Scale the height according to the width, otherwise you get stretching */
  height: auto;

  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}


/*Main Directory stuff*/

	.maindirectory .maindirectory{
margin-top:-2px;
padding-left:5px;
}
	
	
	
	.maindirectory li { 
float:left;

display:block; 
font-weight: bold; 
margin:15px;
margin-top:10px
}
 
	.maindirectory li ul li { 
float:left;
margin:0px;
font-weight: normal; 
font-size:70%;
height:20px;
}

.theDirectory{
float:left;
padding: 0px 0px 0 0px;
}

.directory-cat-item{
color:#666666;
background:#eee;
padding:15px;
padding-bottom:20px;
margin-bottom:20px;
border:1px solid #ddd;
overflow:auto;
}


.directory-cat-item img{
float:right;
margin:10px 0px 10px 10px;
border:3px solid #eee;
width:120px;
background-image:url('/img/no-image.png');
}



/*Rating system*/
.rating{
	width:100px;
	height:20px;
	margin:0 0 20px 0;
	padding:0;
	list-style:none;
	clear:both;
	position:relative;
	background: url(/images/star-sheet.gif) no-repeat 0 0;
}
/* add these classes to the ul to effect the change to the correct number of stars */
.nostar {background-position:0 0}
.star1 {background-position:0 -20px}
.star2 {background-position:0 -40px}
.star3 {background-position:0 -60px}
.star4 {background-position:0 -80px}
.star5 {background-position:0 -100px}
ul.rating li {
	cursor: pointer;
 /*ie5 mac doesn't like it if the list is floated\*/
	float:left;
	/* end hide*/
	text-indent:-999em;
}
ul.rating li a {
	position:absolute;
	left:0;
	top:0;
	width:16px;
	height:16px;
	text-decoration:none;
	z-index: 200;
}
ul.rating li.one a {left:0}
ul.rating li.two a {left:20px;}
ul.rating li.three a {left:40px;}
ul.rating li.four a {left:60px;}
ul.rating li.five a {left:80px;}
ul.rating li a:hover {
	z-index:2;
	width:100px;
	height:20px;
	overflow:hidden;
	left:0;	
	background: url(/images/star-sheet.gif) no-repeat 0 0
}
ul.rating li.one a:hover {background-position:0 -120px;}
ul.rating li.two a:hover {background-position:0 -140px;}
ul.rating li.three a:hover {background-position:0 -160px}
ul.rating li.four a:hover {background-position:0 -180px}
ul.rating li.five a:hover {background-position:0 -200px}
/* end rating code */
h3{margin:0 0 2px 0;font-size:110%}


.featured-directory-cat-item{

}


.featured-directory-cat-item img{

}

.featured-directory-cat-item p{

}



#addForm fieldset ol {
padding: 1em 1em 0 1em;
list-style: none;
}
#addForm fieldset li {
padding-bottom: 1em;
}
#addForm fieldset.submit {
border-style: none;
}
#addForm label {
float: left;
width: 15em;
margin-right: 1em;
font-weight:bold;
color:#0b7e9f;
}
#addForm legend {
margin-left: 1em;
padding: 0;
color: #666;
font-weight: bold;
}
#addForm fieldset {
float: left;
clear: both;
width: 100%;
background-color: #F4F4F4;
margin: 0 0 10px 0;
padding-bottom: 0px;
border:1px dashed #ddd;
}
#addForm fieldset.submit {
float: none;
width: auto;
border-style: none;
background-color: transparent;
text-transform:capitalize;
font-size:medium;
}

#addForm  .submit {
  color: #fff;
  border: none;
  font-weight: bold;
background:#3FB2D8;
padding:4px;
}

pre{clear:both;border-style:solid;border-width:1px;overflow:auto;padding:2em;line-height:2em;font-size:12px;background-image:-webkit-linear-gradient(rgba(0, 0, 0, .05) 50%, transparent 50%, transparent);background-image:-moz-linear-gradient(rgba(0, 0, 0, .05) 50%, transparent 50%, transparent);background-image:linear-gradient(rgba(0, 0, 0, .05) 50%, transparent 50%, transparent);background-size:100% 4em;font-family:Monaco, "Andale Mono", "Courier New", Courier, monospace;-webkit-transition:all ease-in-out 0.5s;-moz-transition:all ease-in-out 0.5s;transition:all ease-in-out 0.5s;margin-bottom:30px;position:relative;left:0;text-transform:none;width:100%;}
code{font-family:Monaco, "Andale Mono", "Courier New", Courier, monospace;}
