/* -------------------------------------------------------------- 
   
  Cuisinio v.1 - Global layout stylesheet

  by: Johan Harteveld | Centroid Media

  
-------------------------------------------------------------- */

#container {
  width: 950px;
  margin: 0 auto;
}

/* Masthead
-------------------------------------------------------------- */

#header {
  width: 938px;
  margin: 10px 0;
  padding: 6px;
  background: #f9f8e5 url(../img/bg_header.png) repeat-x;
}

#header-border {
  min-height: 160px;
  border: 1px dashed #c6c4b4;
}

#logo {
  margin:8px auto 0;
  width: 164px;
}

#logo a {
  display: block;
  width: 164px;
  height: 73px;
  text-indent: -9999px;
  overflow: hidden;
  background: url(../img/logo_cuisinio.png) no-repeat;
}

/* Search
-------------------------------------------------------------- */

#search {
  margin: 23px 0 40px 0;
}

#search legend {
  display: none;
}

#search input,
#search select {
  font: 1.3em Verdana, Corbel, "Bitstream Vera Sans", sans-serif; 
}

#search label {
  display: block;
  font: bold 1.2em Georgia, Constantia, "Palatino Linotype", Palatino, serif;
  text-transform: uppercase;
  color: #8e8d6a;
}

#search #basic-search label {
  display: none;
}

#search #extended-search label {
  margin-bottom: 3px;
}

#basic-search {
  position: relative;
  width: 415px;
  margin:0 auto;
}

#basic-search a#toggle-search {
  position: absolute;
  top: 30px;
  right: 110px;
  font-size: 0.9em;
  color: #8b8773;
}

input#searchvalue {
  width: 300px;
  padding: 3px 2px 4px;
  vertical-align: bottom;
}

input#submit {
  margin-left: 10px;
  vertical-align: bottom;
}

#extended-search {
  width: 870px;
  margin:45px auto 0;
}

#extended-search div {
  float: left;
  margin: 0 35px;
}

#extended-search select {
  width: 220px;
  border:1px solid #d3d2bf;
}

/* Content
-------------------------------------------------------------- */

#content-wrap {
  padding: 1px 1px 30px 1px;
  background: #fff;
}

#content-main {
  float: left;
  width: 675px;
  padding: 15px;
}

#content-side {
  float: left;
  width: 243px;
  padding: 30px 0;
}

/* Content-side
-------------------------------------------------------------- */

.sidecol-box {
  background: url(../img/bg_sidecol_mid.gif) repeat-y;
  padding: 0 21px 0 17px;
}

.sidecol-box h3:first-child {
  background: url(../img/bg_sidecol_top.gif) no-repeat top left;
  position: relative;
  left: -17px;
  width: 226px;
  padding: 24px 0 0 17px;
}

#home .sidecol-box h3:first-child {
  background: url(../img/bg_sidecol_top_home.png) no-repeat top left;
  position: relative;
  left: -17px;
  width: 226px;
  padding: 24px 0 11px 17px;
  margin-bottom: 0;
}

.sidecol-box-bottom {
  background: url(../img/bg_sidecol_bottom.gif) no-repeat bottom left;
  height: 19px;
  position: relative;
  left: -17px;
  width: 243px;
}

.sidecol-box h3 {
  padding-top: 30px;
  background: url(../img/rule.png) top center no-repeat;
}

/* Recipe drag / drop box
-------------------------------------------------------------- */

#drag-target {
  margin: 20px 10px;
  min-height: 20px;
  border: 1px dashed #cbc9b4;
  background: #fff;
  text-align: center;
}

#drag-target p {
  font-size: 0.918em;
  color: #8b8a67;
  margin: 5px;
}

#content-side #drag-target ul {
  text-align: left;
  margin: 0 3px;
}

#content-side #drag-target li {
  position: relative;
  background-image:none;
  padding: 3px 5px;
  border-top: 1px solid #ecead7;
}

#content-side #drag-target li:first-child {
  border-top: none;
}

#drag-target a {
}

a.unsave-recipe {
  position: absolute;
  top: 2px;
  right: 0;
  background: #cbc9b4;
  padding: 0 2px 1px 2px;
  color: #fff;
}

a.unsave-recipe:hover,
a.unsave-recipe:focus {
  background: #7d1f1f;
  border-bottom: none;
}

.question {
  text-indent: -9999em;
  background: url(../img/icon_info.gif) no-repeat;
  display: block;
  height:16px;
  width: 16px;
  margin-left: 190px;
  cursor: pointer;
}

.question:hover,
.question:focus {
  border: none;
}

#save-explain {
  display: none;
  font-size: 0.918em;
}

/* Droppable
-------------------------------------------------------------- */

.droppable-active {
  background: #efd7d1 !important;
}

.droppable-hover {
	border: 1px solid #7d1f1f !important;
}

/* Draggable
-------------------------------------------------------------- */

#drag-me {
	cursor: move;
}

#drag-me:hover {
	color:#7d1f1f;
}

.ui-draggable-dragging {
  font: 12px Verdana, Corbel, "Bitstream Vera Sans", sans-serif;
  border: 1px solid #7d1f1f;
  padding: 2px;
  z-index: 9999;
  background: #f5f3df;
  color: #737355;
}

/* Content-side lists
-------------------------------------------------------------- */

#content-side ul {
  list-style: none;
  margin: 0 0 2em 0;
}

#content-side li {
  padding: 3px 0 3px 14px;
  background: url(../img/bullet_diamond.gif) no-repeat 0 50%;
}

/* Content top (home/sort/info)
-------------------------------------------------------------- */

#home #content-top {
  background: #8b8a67;
}

#content-top h1 {
  margin: 0;
  padding: 12px 0 5px 0;
  text-indent: -9999em;
  background: url(../img/payoff.png) no-repeat center 12px;
}

#detailpage #content-top {
  background: #e9e7d5;
}

a.back-to-serp {
  line-height:36px;
  padding: 4px 22px;
  margin-left: 15px;
  background: url(../img/icon_back.gif) no-repeat 0 50%;
  font-weight: bold;
}

#result-total {
  position: relative;
  background: #e9e7d5;
}

#result-total p {
  margin: 0 0 0 100px;
  font: 1.8em Georgia, Constantia, "Palatino Linotype", Palatino, serif;
  height: 37px;
  line-height: 37px;
  color: #737355;
}

#result-total em {
  font-size: 0.8em;
}

#result-total span {
  font-size: 1.667em;
  background: url(../img/resultnumber_star.png) no-repeat;
  position: absolute;
  top: -27px;
  left: 5px;
  width: 86px;
  height: 64px;
  padding: 22px 0 0 0px;
  color: #fff;
  text-align: center;
}

#result-total span.digit-4 {
  font-size: 1.444em;
}

#result-total span.digit-5 {
  font-size: 1.3em;
  padding: 26px 0 0 0;
}

#sort-results {
  background: #f5f3df;
}

#sort-results p {
  margin: 1px 0 0 100px;
  height: 24px;
  line-height: 24px;
  text-transform: uppercase;
  font-size: 1em;
}

#sort-results a {
  margin: 0 5px 0 0;
  padding-left: 5px;
  border-left: 1px solid #000;
}

#sort-results a:first-child {
  border-left: 0;
  padding-left: 0;
}

a.active-sort-down {
  font-weight: bold;
  background: url(../img/arrow_sort.gif) no-repeat right -5px;
  padding-right: 13px;
}

a.active-sort-up {
  font-weight: bold;
  background: url(../img/arrow_sort.gif) no-repeat right -29px;
  padding-right: 13px;
}


/* Results
-------------------------------------------------------------- */

#results ul {
  list-style: none;
  margin: 0;
}

#results h2 {
  margin-bottom: 3px;
  line-height: 1em;
}

#results li {
  padding: 15px 0;
  border-top: 1px dashed #cbc9b4;
}

#results li:first-child {
  border-top: none;
}

#results p {
  margin-bottom: 0;
}

#results li span {
  font-weight: bold;
}

/* Recipe detail
-------------------------------------------------------------- */

#recipe-detail {
  margin-top:20px;
}

#recipe-detail h1 {
  display: inline-block;
}

ul#recipe-info,
ul#recipe-ingredients {
  list-style: none;
  margin: 0 0 40px 0;
}

ul#recipe-info span {
  font-weight: bold;
}

ul#recipe-ingredients {
  border-top: 1px dashed #cbc9b4;
}

ul#recipe-ingredients li {
  padding: 3px 0 3px 14px;
  background: url(../img/bullet_diamond.gif) no-repeat 2px 50%; 
  border-bottom: 1px dashed #cbc9b4;
}

p.recipe-preparation {
  line-height: 2em;
}

/* Homepage featured
-------------------------------------------------------------- */

#featured {
  position: relative;
  padding: 12px;
  border: 1px solid #dddbc6;
  margin: 20px 0;
}

#featured span.announce {
  display: block;
  text-transform: uppercase;
  font-size: 1.4em;
  line-height: 1em;
}

#featured img {
  float: left;
  margin: 5px 10px 0px 0;
  padding: 5px;
  background: #cbc9b4;
}

#featured p {
  margin-bottom: 2em;
}

#featured h2 {
  float: left;
  width: 440px;
  margin-bottom: 0;
}

p#featured-info {
  position:absolute;
  bottom:10px;
  left:215px;
  margin:0;
  font-size:1em;
}

p#featured-info span {
  font-weight: bold;
  clear: both;
}

/* Homepage other
-------------------------------------------------------------- */

.popular-list {
  float: left;
  width: 325px;
  margin-right:25px;
  display: inline;
}

.popular-list ul {
  list-style: none;
  margin: 0;
}

.popular-list ul span {
  font-weight: bold;
}

.popular-list ul {
  border-top: 1px dashed #cbc9b4;
}

.popular-list ul li {
  padding: 3px 0 3px 14px;
  background: url(../img/bullet_diamond.gif) no-repeat 2px 50%; 
  border-bottom: 1px dashed #cbc9b4;
}

#home .tagcloud {
  float: left;
  width: 325px;
}

/* Tagcloud
-------------------------------------------------------------- */

.tag-1 { font-size: 2.4em; }
.tag-2 { font-size: 2.0em; }
.tag-3 { font-size: 1.8em; }
.tag-4 { font-size: 1.6em; }
.tag-5 { font-size: 1.4em; }
.tag-6 { font-size: 1.2em; }

/* Footer
-------------------------------------------------------------- */

#footer {
  clear: both;
  text-align: center;
  margin-top: 10px;
}

#footer p {
  font: bold 1.2em Georgia, Constantia, "Palatino Linotype", Palatino, serif;
  text-transform: uppercase;
  color: #8e8c7d;
}

#footer p:before,
#footer p:after {
  content: " ~ "
}

#footer p a {
  color: #8e8c7d;
}

#footer p a:hover,
#footer p a:focus {
  border-bottom: none;
  color: #555;
}

/* Pagination
-------------------------------------------------------------- */

.pagination {
  margin: 25px 0 15px 0;
  text-align: center;
}

.pagination ul {
  list-style: none;
}

.pagination li {
  display: inline;
  margin: 0 1px;
  color: #6e6e6e;
  padding: 3px 0px;
}

.pagination li a {
  padding: 3px 7px;
  color: #6e6e6e;
  text-decoration: none;
  border: 1px solid #6e6e6e;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

.pagination li a:hover,
.pagination li a:focus {
  background: #7d1f1f;
  color: #fff;
  border: 1px solid #000;
  text-decoration: none;
}

.pagination li.page_active {
  padding: 3px 6px;
  border: 1px solid #6e6e6e;
  font-weight: bold;
  color: #7d1f1f;
}

.pagination li.page_prev,
.pagination li.page_next {padding: 3px 7px;}
.pagination li.page_prev a,
.pagination li.page_next a {padding: 3px 7px; margin: 0 -7px}
.pagination span.current {
	color:#6e6e6e;
	padding: 3px 6px;
  border: 1px solid #ddd;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
.pagination span.disabled {
	color:#6e6e6e;
	padding: 3px 6px;
}


/* Ads
-------------------------------------------------------------- */

#book-ads div {
  margin-bottom:5px;
}

#book-ads img {
  float:left;
  margin-right: 5px;
  padding: 2px;
  border: 1px solid #dad8c6;
}

.book-ad-title {
}

.book-ad-author {
  float:left;
  font-style: italic;
}

/* Sitemap
-------------------------------------------------------------- */

#sitemaplinks ul  {
  list-style: none;
  margin: 0;
}

#sitemaplinks ul li {
  padding: 3px 0 3px 14px;
  background: url(../img/bullet_diamond.gif) no-repeat 2px 50%;
}

/* Clearing floats without extra markup
   [http://www.positioniseverything.net/easyclearing.html]
-------------------------------------------------------------- */

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}

/* Regular clearing */
.clear { clear:both; }