﻿::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #777;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #777;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #777;
}

body {
  width: 100%;
  height: 100%;
}

body.noScroll { /* ...or body.dialogShowing */
  overflow: hidden;
}

a:focus {outline:0;}

.site-header {
	z-index: 1;
}

.site-inner {
	z-index: 2;
	padding: 5px;
	min-height: 1400px;
}

DIV.content-sidebar-wrap {
	/* position: absolute; */
	position: relative;
	/*overflow: hidden;*/
	min-height: 1500px;
	/*z-index: 150;*/
}

DIV.osg_recipe_search_mobile_header_wrap {
	display: none;
}

.osg_recipe_search_filter-button-wrap { 
    clear: both;
	width: 100%;
    text-align: center;
	position: relative;
	top: 10px;
}

.osg_recipe_search_filter-button span {
	font-family: 'Mulish', Helvetica, sans-serif;
	font-size: .8em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;	
	padding: 7px 17px;
	background-color: #fff;
	color: #c59d60;
	border: 1px #c59d60 solid;
}

.osg_recipe_search_filter-button span:active, .osg_recipe_search_filter-button span:hover, .osg_recipe_search_filter-button span:focus {
    background: #c59d60 !important;
    color: #fff !important;
}

DIV.osg_recipe_search_left_sidebar {
	font-size: 14px;
	float: left;
	margin-left: 0;
	width: 320px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 8px;
	/*overflow: hidden;*/
	z-index:12;
}

DIV#scroller {
	position: absolute;
	width: 300px;
	z-index: 13;
	/*
	-webkit-tap-highlight-color: rgba(0,0,0,0);

	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
	text-size-adjust: none;
	*/
}

DIV.osg_recipe_search_left_sidebar form {
	padding-bottom: 20px;
}

DIV.osg_recipe_search_left_sidebar label {
	font-size: 14px;
	display: block;
}

.osg-recipe-filters-applied-wrap {
	min-height: 90px;
}

P#osg-recipe-filters-applied {
	font-size: smaller;
	margin: 0;
}

BUTTON.osg-clear-all-button, BUTTON.osg-clear-all-button:active {
	font-size: 12px;
	padding: 2px 10px;
	margin: 10px 0;
	background: #c59d60;
	border: 1px #c59d60 solid !important;
	color: #fff;
}

BUTTON.osg-clear-all-button:hover {
    background: #fff;
    color: #c59d60;
}

DIV.osg_recipe_search_left_sidebar fieldset {
	border: none;
	padding: 0;
	margin: 0;
}

#osg-recipe-search-text {
	margin-bottom: 20px;
	border: 1px solid #c59d60;
}

DIV.osg_recipe_search_left_sidebar details {
	clear: both;
	margin-bottom: 15px;
}

DIV.osg_recipe_search_left_sidebar summary {
    font-style: normal;
    letter-spacing: 2pt;
    line-height: 1.2;
    text-transform: uppercase;	
}

/* Change the color and size of the marker. */
DIV.osg_recipe_search_left_sidebar summary::-webkit-details-marker {
	display: none;
}

DIV.osg_recipe_search_left_sidebar summary:after {
  /*background: white; */
  /*border-radius: 5px; */
  content: "\002b"; 
  float: right; 
  font-size: 1.3em; 
  font-weight: bold;
  color: #c59d60;
  margin: -5px 10px 0 0; 
  padding: 0; 
  text-align: center; 
  width: 20px;
}

DIV.osg_recipe_search_left_sidebar summary:focus {
	outline-color: #fff;
}

DIV.osg_recipe_search_left_sidebar details[open] summary:after {
	content: "\002d";
}

DIV.osg_recipe_search_left_sidebar input[type='checkbox'] {
	margin-right: 10px;
	width: auto;
}


div.osg_recipe_search_background {

}


MAIN.content {
	padding-top: 8px;
	flex: 1;
	display: flex;
	width: auto;
	flex-wrap: wrap;
	margin-left: 330px;
	float: none !important;
}

@media only screen and (min-width: 917px) {
	DIV.content-sidebar-wrap {
		display: flex;
	}
	main.content {
		margin-left: 0;
	}
}

@media only screen and (max-width: 916px) {

	.site-inner {
		padding: 0;
	}

	DIV.content-sidebar-wrap {
		position: absolute;
	}
	
	DIV.osg_recipe_search_mobile_header_wrap {
		display: block;
		clear: both;
		background-color: white;
		width: 100%;
		height: 52px;
		z-index: 11;
	}

	DIV.osg_recipe_search_mobile_header {
		display: block;
		width: 236px;
		height: 52px;
		z-index: 11;
	}


	DIV.osg_recipe_search_left_sidebar {
		display: block;
		position: absolute; /*fixed;*/
		top: 0;
		height: 100%;
		transform: translateX(-100%);
		-webkit-transform: translateX(-100%);
		transform: translateZ(100px);
		-webkit-transform: translateZ(10px);
		z-index: 2000;
		background-color: white;
		width: 245px;
		padding-top: 30px;
		padding-left: 15px;
		padding-right: 15px;
		transition:all .2s ease;
	}
	
	.fixed {
		top: 0px !important;
		left: 0px !important;
		height: 100% !important;
		position: fixed !important;
	}	

	.slide-in {
		animation: slide-in 0.5s forwards;
		-webkit-animation: slide-in 0.5s forwards;
	}

	.slide-out {
		animation: slide-out 0.5s forwards;
		-webkit-animation: slide-out 0.5s forwards;
	}

	@keyframes slide-in {
		100% { transform: translateX(0%); }
	}

	@-webkit-keyframes slide-in {
		100% { -webkit-transform: translateX(0%); }
	}

	@keyframes slide-out {
		0% { transform: translateX(0%); }
		100% { transform: translateX(-100%); }
	}	

	@-webkit-keyframes slide-out {
		0% { -webkit-transform: translateX(0%); }
		100% { -webkit-transform: translateX(-100%); }
	}	
	
	DIV#scroller {
		width: 215px; 
	}
	
	DIV.osg_recipe_search_background {
		display: none; /* change when menu open to display: block */
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 11;
		background: black;
		opacity: 0.5;
	}
	
	MAIN.content {
		float: none;
		margin-left: 0px;
		width: 100%;
	}
}

.block-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.osg_recipe_search_wrap {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
}

/*** ISOTOPE START ***/

.osg_recipe_search_layout_wrap { width: 100%; }

.osg_recipe_search_article2 { width: 25%; }

/*** ISOTOPE END ***/

.osg_recipe_search_article {
  display: inline-flex;
  width: calc(50%);
  text-decoration: none;
  padding: 5px;
  border-top: 1px solid #c59d60;
  padding: 10px 5px;
  transform:translate3d(0,0,0);
  -webkit-transform:translate3d(0,0,0);
  -moz-transform:translate3d(0,0,0);
}

.osg_recipe_search_article article {
	display: block;
	width: 100%;
}

.osg_recipe_search_article:nth-of-type(2n) {
  /*margin-right: 0;*/
}

@media screen and (min-width: 640px) {
  .osg_recipe_search_article {
    width: calc(100% / 3);
  }
}

@media screen and (min-width: 50em) {
  .osg_recipe_search_article {
    width: calc(25%);
  }
}

/*
.osg_recipe_search_article:hover img {
  transform: scale(1.15);
  -webkit-transform:scale(1.15);
}
*/

.osg_recipe_search_article figure {
  margin: 0;
/*  overflow: hidden;*/
position: relative;
}

.osg_recipe_search_article figure .image_container {
  overflow: hidden;
  /*height: 100%;*/
  width: 100%;
  position: absolute;
  top: 0;
}

.osg_recipe_search_article figure .image_container:before {
    content: '';
    display: block;
    height: 0;
    width: 100%;
    padding-bottom: 100%;
}


.osg_recipe_search_article figure:before {
    content: '';
    display: block;
    height: 0;
    width: 100%;
    padding-bottom: 100%;
    /* 16:9 = 56.25% = calc(9 / 16 * 100%) */	
}

.osg_recipe_search_article figure img	 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
}

/* fade image in after load */
.lazyload,
.lazyloading {
	opacity: 0;
}
.lazyloaded {
	opacity: 1;
	transition: opacity 300ms;
}

.osg_recipe_search_article figcaption {
  margin-top: 15px;
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  font-style: normal;
  padding: 0 1px;
  letter-spacing: 1.75pt;
  line-height: 1.2;
  text-transform: uppercase;  
}

.osg_recipe_search_article img {
  border: none;
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  transition: transform .2s ease-in-out;
}

.hidden {
	display: none;
}

.in_app_only {
	position: absolute;
	top: 8px;
	border-radius: 5px;
	right: 8px;
	padding: 0 7px;
	background-color: rgba(255,255,255,0.9);
	font-size: 12px;
	color: #c59d60;
}

.ui-dialog {
	z-index: 20;
	background: #fff;
}

.ui-dialog .ui-dialog-titlebar {
	text-align: center;
	letter-spacing: 1.75pt;
	color: #c59d60;
}

@media screen and ( max-width: 767px ) {
	.ui-dialog .ui-dialog-titlebar { font-size: 16px; }
}

.ui-dialog p {
	font-size:14px;
}

.ui-dialog a { border: none !important; padding: 10px; display: inline-block }
.ui-dialog img { width:150px; max-height: 40px; margin-bottom: 0px; }