/* The holy hack */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* Article */
.article {
    padding: 7px;
}
.article h2 {
    padding: 0px;
    margin: 0px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}
.article h4 {
    padding: 0px;
    margin: 0px;
    font-size: 12px;
    font-weight: normal;
    color: #999;
    float: left;
}
.article p {
    padding: 0px;
    margin: 5px 0px;
}
.article p .left {
    margin: 0px 10px 10px 0px;
    float: left;
}
.article p .right {
    margin: 0px 0px 10px 10px;
    float: right;
}
.article p .top_center, .article p .bottom_center {
    margin: 0px auto;
}
.article p .picture .credit {
    display: block;
    font-size: 12px;
    color: #999;
}


span.ingredients {
    width: 300px;
    border: none;    
}

span.ingredients h3 {
    margin: auto;
}
span.ingredients ul {
    list-style:none;
    padding: 0px;
}
div.recipeenergy {
    width: 300px;
    float:left;
}
div.recipechart {
    width: 300px;
    padding-top:35px;
    float:right;
}

/* Tag suggest */
span.tagMatches {
    margin-top: 4px;
    padding: 6px 1px 6px 4px;
    background-color: #fff;
    border: 1px solid #BDD8E9;
}
span.tagMatches span {
    padding: 2px;
    margin-right: 3px;
    background-color: #AAA;
    color: #fff;
    cursor: pointer;
}

/* Slide teaser */
.slideteaser {
    position: relative;
    width: 649px;
    height: 270px;
}
.slideteaser ul.navigation {
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0px;
    padding: 0px;
    width: 210px;
    list-style: none;
    z-index: 2;
}
.slideteaser ul.navigation li {
    position: relative;
    margin: 0px 0px 1px;
    padding: 4px 8px 4px 4px;
    height: 54px;
    background: url(/gfx/default/slideteaser-bg.png) no-repeat;
}
.slideteaser ul.navigation li.selected {
    background-position: 0px -63px;
}
.slideteaser ul.navigation li img {
    margin-right: 6px;
    float: left;
}
.slideteaser ul.navigation li a {
    text-decoration: none;
}
.slideteaser ul.navigation li div {
}
.slideteaser ul.navigation li div h4 {
    margin: 0px;
    padding: 0px;
    font-size: 12px;
    font-weight: bold;
    color: #712156;
    text-transform: uppercase;
}
.slideteaser ul.navigation li div p {
    margin: 0px;
    padding: 0px;
}
.slideteaser .scroll {
    position: absolute;
    top: 10px;
    left: 211px;
    width: 428px;
    height: 251px;
    overflow: hidden;
    z-index: 1;
}
.slideteaser .scroll .panel {
    width: 428px;
    height: 251px;
    float: left;
    overflow: hidden;
}
.slideteaser .scroll .panel p {
    margin: 0px;
    padding: 0px;
}

/* Teaser */
.teaser img.left {
    margin: 0px 10px 10px 0px;
    float: left;
}
.teaser img.right {
    margin: 0px 0px 10px 10px;
    float: right;
}

/* Gallery */
.gallery h2 {
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: bold;
}
.gallery .picturearea {
    padding: 10px;
    border: 1px solid #ddd;
}
.gallery .wrapper {
    padding: auto;
    margin: auto;
    width: 500px;
    clear: both;
    text-align: center;
}
.gallery .wrapper .picture {
    display: block;
}
.gallery .wrapper .picture .credit {
    display: block;
    font-size: 11px;
    color: #999;
    text-align: center;
}
.gallery p {
    margin: 5px 0px;
}
.gallery h3 {
    margin: 5px 0px 0px 0px;
    padding: 0px;
    font-size: 14px;
    font-weight: bold;
}
.gallery .pagination {
    padding-top: 10px;
}
.gallery .pagination .previous {
    display: block;
    width: 20px;
    height: 16px;
    text-indent: -1000px;
    overflow: hidden;
    background: url(/gfx/default/gallery-arrows.gif) no-repeat 0px 0px;
    float: left;
}
.gallery .pagination .pageinfo {
    padding: 0px 10px;
    float: left;
    line-height: 16px;
}
.gallery .pagination .next {
    display: block;
    width: 20px;
    height: 16px;
    text-indent: -1000px;
    overflow: hidden;
    background: url(/gfx/default/gallery-arrows.gif) no-repeat 0px -25px;
    float: left;
}
.gallery .thumbnails .thumb {
	width: 120px;
	height: 120px;
	padding: 5px;
	margin: 0px 10px 10px 0px;
	float: left;
	border: 1px solid #ccc;
	overflow: hidden;
}
.gallery .thumbnails .thumb .center {
	width: 120px;
	height: 120px;
    text-align: center;
    line-height: 116px;
}
.gallery .thumbnails .thumb .center a {
    vertical-align: middle;
}
.gallery .thumbnails .thumb .center a img {
    vertical-align: middle;
}