/*
Theme Name: Turtle Chef
Author: Have a Byte
Author URI: http://haveabyte.nl/
Description: Turtle Chef Theme
Version: 1.0.2
Template: dt-the7
*/

.turtle_product img {
	max-width: 100%;
	height: auto !important;
}

.turtle_product .post-thumbnail {
  float: left;	
}


.turtle_product .nutrition {
  padding-top: 20px;
}

.turtle_product .nutrition ul{
	list-style: none;
	margin: 0;
}

.turtle_product .nutrition label {
	font-weight: 400;
	display: inline-block;
	width: 200px;
}

.turtle_product .nutrition span {
   display: inline;
   width: 30px;
   text-align: right;
}


.recipe_products {
	text-align: center;
	float: left;
}


/** RECIPES */

.recipe_filter {
	margin: 20px 0;
}

.recipe {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.recipes {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
}

.recipes > article {
	flex-grow: 1;
	width: calc(1/3*100% - (1 - 1/3)*10px);
	box-sizing: border-box;
}

.recipes > article > div {
	margin: 5px;
}

.recipes > article > div > div {
  background: #111111;
  margin: -40px 20px 20px 20px;
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 10px;
}

.recipes > article { text-align: center}


.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;   
    padding: 4px 0;
    margin: 0 0 10px 25px;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;
    text-decoration: none;
}

.ui-state-hover, .ui-state-active {
    color: #ffffff;
    text-decoration: none;
    background-color: #0088cc;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}

div.product_icons {
	list-style: none;
	margin: 0;
	text-align: center;
	width: 220px;
	margin: 0 auto;
	position: relative;
	top:10px;
}

div.product_icons>div {
	margin: 0;
	padding: 0 3px 0 0;
	display: inline-block;
	line-height: 50px;
	width: 50px;
	height: 50px;
	float: left;
}

div.product_icons div img,
div.product_icons div>span {
	display: inline-block;
	width: 50px;
	height: 50px;
}

body.single-turtle_product div.product_icons {
	top: 0;
	margin 0;
	width: 100%;
	height: 50px;
	margin-bottom:20px;
	margin-top: 10px;
}

span.product_origin {
	background-color: #111;
	color: #fff;
	font-size: 11px;
	height: 50px;
	width: auto;
	border-radius: 25px;
	font-weight: bold;
}


.hab_griditem h3 {
	color #fff;
}	

.recipe_products strong {color: #999;text-decoration: none !important}
.recipe_products {width:100%
	margin: 10px 0 20px 0;
	text-align: left;
	
}
.recipe_products > a {float: left;
	text-decoration: none;
	margin: 15px 15px 15px 0;
	/*width: calc(33% - 15px);*/
    max-width: 300px;
    max-height: 280px;
    overflow: hidden;
    height: 280px;
}

.turtle_recipe h2 {text-align: left}


.vc_btn3.vc_btn3-color-danger {
	background-color: #e73e29;
	font: normal 15px / 17px "Montserrat", Helvetica, Arial, Verdana, sans-serif;
padding: 12px 14px 12px 14px;
}


@media (min-width: 768px AND  max-width: 1280px) { 
	.product_icons {display:none}
}

@media (max-width: 768px) { 
.vc_btn3-container {clear:both}
}

@media (max-width: 400px) { 
	.product_icons {display:none}
}

#recipe_content .wf-cell {
	width: 48%;
	margin-right: 2%;
	float: left;
	padding-bottom: 15px;
	min-height: 434px;
	padding: 0 0 20px 0;

}

#recipe_content h4 {font-size: 16px;
  line-height: 1.3em;
  min-height: 2em;
  display: inline-block;
  width: 100%;
}

.vc_btn3-container.vc_btn3-center {clear: both}

.vc_gitem-post-data-source-post_title h2 {min-height:2.4em}

.hab_product .vc_btn3-container {
	position: relative;
	top: 20px;
}

