.flexmain-container {
    width:80%;
    float:left;
}
#flexmain-thumbs {
    width:20%;
    float:right;
    background: url("images/recipe/tearedh-bg-h.png") repeat scroll 0 0 transparent;
}
.flex-slider-wrapper {
    background: url("images/recipe/tearedh-bg-h.png") repeat scroll 0 0 transparent;
    padding-bottom: 20px;
}
#flexmain-thumbs ul { list-style: none; margin-top:10px; }
#flexmain-thumbs ul li { float: left; padding:10px}
#flexmain-thumbs ul li a { display: block }
#flexmain-thumbs ul li a img { display: block }
#flexmain-thumbs ul li.active {
    background: #eee;
}
#flexmain-thumbs .flex-direction-nav li .next {right: 20%;}

/* Browser Resets */
.flex-container a:active,
.flexslider a:active {outline: none;}
.entry-content .slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {width: auto; margin: 0; padding: 0;}
.flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-width: 100%; display: block; height: auto;}
.flex-pauseplay span {text-transform: capitalize;}
ul.slides {list-style: none}
/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider {
    /* background: url("images/recipe/tearedh-bg.png") repeat scroll 0 0 transparent; */
    border-radius: 5px 5px 5px 5px;
    padding: 10px 10px 10px 30px;
    position: relative;
    zoom: 1;}
.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
               filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
p.flex-caption,
#content p.flex-caption {width: 94%; padding: 2%; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.3); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;}
.flexslider.main p.flex-caption a { color:#fff; text-decoration: none}
.flexslider.main p.flex-caption {
    background:#000;
    width:auto;
    background: none repeat scroll 0 0 #FFFFFF;
    bottom: 25px;
    width: auto;
    font-size: 28px;
    color: #000000;
}
.flexslider.main p.flex-caption a {
    color: #000000;
    font-size: 28px;
    text-shadow: 1px 0 0;
}
#content p.flex-caption {
    width:94%;

}


/* Direction Nav */
.flex-direction-nav li a {
    background: url("images/bg_direction_nav_note.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
    display: block;
    height: 53px;
    margin: -13px 0 0;
    position: absolute;
    text-indent: -9999px;
    top: 44%;
    width: 50px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    -moz-transform:rotate(2deg);
    -webkit-transform:rotate(2deg);
    transform:rotate(2deg);
}

.flex-direction-nav li .next {background-position: -53px 0; right: 0px;-moz-transform:rotate(-2deg);}
.flex-direction-nav li .prev {left: 0px;}
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -30px; text-align: center;}
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {width: 13px; height: 13px; display: block; background: url(images/bg_control_nav.png) no-repeat 0 0; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {background-position: 0 -13px;}
.flex-control-nav li a.active {background-position: 0 -26px; cursor: default;}

.entry-content ul#flex-nav {
    list-style:none;
    margin:0px;
    padding:0px;
    overflow:hidden;
}

ul#flex-nav li { float:left; }
.es-carousel-wrapper {
    position: relative;
}
.es-carousel {
    overflow: hidden;
}
.es-carousel ul li {
    display: block;
    float: left;
    height: 100%;

}
.es-carousel ul li a { opacity:0.71}
.es-carousel ul li.active a { opacity:1}
.es-carousel ul li.current a { opacity:1}
.rg-thumbs {
    margin:20px 14px 8px;
}
.es-nav span {
    background: url("images/nav_thumbs_note.png") no-repeat scroll left top transparent;
    cursor: pointer;
    height: 26px;
    left: -14px;
    margin-top: -13px;
    opacity: 0.8;
    position: absolute;
    text-indent: -9000px;
    top: 50%;
    width: 14px;
}
.es-nav span.es-nav-next {
    background-position: right top;
    left: auto;
    right: -14px;
}

.es-carousel ul li a {
    display:block;
}

.entry-content .flex-direction-nav { padding:0px;}