::-webkit-scrollbar-thumb:vertical {
	background-color:#000000;
	height:30px;
}
	 
::-webkit-scrollbar-thumb:horizontal {
	background-color:#000000;
	height:5px!important;
}
	 
::-webkit-scrollbar {
	background-color:#cccccc;
	width: 5px;
}

html{
	height: 100%;
	background: #f9f9f9;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body{ 
	min-height:100%;
	padding:0; 
	font-family: Work Sans, sans-serif;
	margin:0; 
	position:relative; 
}

body::after{ content:''; display:block; height:60px; }

#body-wrap{
	padding: 20px 5% 5px 5%;
	text-align: justify;
	position: relative;
	color: #555;
	font-size: 15px;
}

a {
	text-decoration: underline;
	color: #6b7e7f;
}

.footer{
	background: #EFEFEF;
	color: #AAA;
	font-family: Work Sans, sans-serif;
	clear: both;
	position: absolute;
	bottom: 0;
	border-top: #CCC 1px solid;
	left: 0;
	height: 50px;
	margin: 0px;
	font-size: 10px;
	box-sizing: border-box;
	font-weight: bold;
	display: block;
	width: 100%;
	text-transform: uppercase;
	padding: 20px 8%;
}

.footer img{
	bottom:  13px;
	left: 110px;
	position: absolute;
}

hr{
	border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

h1{
	font-family: Lora, serif;
	font-size: 135%;
	border-bottom: 1px solid #353837;
	color: #353837;
	padding: 10px;
}

h2{
	font-family: lora, serif;
	font-size: 100%;
	text-transform: lowercase;
	letter-spacing: 1px;
	border-bottom: 1px #ccc dotted;
	color: #353837;
	padding: 10px;
}

/* --------- FORMS --------- */

.gravatar{
	border-radius: 100px;
	-webkit-border-radius: 100px;
	margin-top: 15px;
	border: 3px double #555;
	overflow: hidden;
	display: block;
	width: 100px;
	height: 100px;
}

.gravatar img{
	width: 100px;
}

.form-group{
	margin: 15px 5px;
}

.form-group label{
	font-size: 110%;
	padding: 5px;
	width: 35%;
	font-weight: bolder;
	display: block;
}

.help-block{
	font-size: 75%;
	display: block;
	width: 100%;
	text-align: left;
	padding-left: 15px;
	color: #777;
	text-transform:uppercase;
}

.form-text{
	font-size: 110%;
	width: 50%;
	display: inline-block;
	padding: 5px 0px;
	font-family: Work Sans, sans-serif;
	color: #555;
}

.form-group input{
	font-size: 110%;
	width: 94%;
	display: block;
	padding: 5px 15px;
	font-family: Work Sans, sans-serif;
	color: #555;
	background: #fff;
	-webkit-transition: all 0.5s ease;
	border: 1px solid #ccc;
	box-sizing: border-box !important;
	transition: all 0.5s ease;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus{
	background: #e6f1f2;
	border: 1px solid #c1c1c1;
}

.form-group textarea{
	width: 90%;
	height: 400px;
	padding: 15px;
	white-space: pre-wrap;
	font-size: 16px;
	display: block;
	font-family: Work Sans, sans-serif;
	color: #555;
	background: #fff;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #ccc;
}


.has-error.form-group input{
	border: 1px solid #F04A37;
}
.has-error .help-block{
	color: #F04A37;
}

#btn{
	display: inline-block;
	max-width: 42%;
	padding: 10px 15px;
	margin: 10px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	text-transform: uppercase;
	font-size: 95%;
	-webkit-transition: all 1s ease;
	transition: all 1s ease;
}

#btn:hover{
	cursor: pointer;
}

#btn.btn-primary{
	color: #9b9201;
	background:#fff000;
	border: solid 1px #d8d802;
}

#btn.btn-gray{
	color: #555;
	border: 1px solid #aeb7b1;
	background: #e1e8e3;
}

#btn a{
	text-decoration: none;
}

#btn.btn-primary:hover{
	background: #ede131;
}

#btn.btn-gray:hover{
	background: #a9adac;
}

/* --------- SIDEBAR --------- */

#sidebar{
	width: 12vw;
	float: left;
	padding: 20px;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0;
}

button svg{
	width: 12px;
	height: 12px;
	margin-top: 1px;
	color: #ccc;
	margin-right: 5px;
}

#searchbar{
	display: inline-block;
}

#searchbar > .ais-SearchBox  input, #sort-by select{
	font-size: 16px;
	width: 22vw;
	display: inline !important;
	padding: 5px 10px;
	font-family: Work Sans, sans-serif;
	color: #1A1A1A;
	font-weight: normal;
	background: #fff;
	margin-right: 5px;
	margin-bottom: 5px;
	-webkit-transition: all 0.5s ease;
	border: 1px solid #ccc !important;
	border-radius: 0px !important;
	-webkit-border-radius: 0px !important;
	box-sizing: border-box !important;
	transition: all 0.5s ease;
}

#sort-by select{
	width: 100%;
	color: #aaa;
	font-size: 14px;
}

#sidebar h1{
	font-size: 80%;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-bottom: 1px solid #353837;
	color: #353837;
	padding: 2px;
}

.ais-RefinementList, .ais-NumericMenu{
	font-family: Work Sans, sans-serif;
	font-size: 11px;
	line-height: 12px;
	text-transform: uppercase;
	font-weight: bold;
}

.ais-RefinementList-count, .ais-NumericMenu-count{
	background: #b4b4b4;
	font-weight: normal;
	color: #fff;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	padding: 1px 3px;
}

button.ais-RefinementList-showMore{
	display: block;
	margin: auto;
	padding: 5px 0;
	color: #000000;
	text-shadow: 1px 1px #fff;
	text-transform: uppercase;
}

.select2-selection{
	font-size: 16px;
	display: inline-block;
	font-family: Work Sans, sans-serif;
	color: #555;
	margin-right: 5px;
	margin-bottom: 2px;
	width: 57vw !important;
	font-weight: normal;
	background: #fff;
	padding: 0 5px;
	border: 1px solid #ccc !important;
	border-radius: 0px !important;
	-webkit-border-radius: 0px !important;
	box-sizing: border-box !important;
}

.ais-Stats{
	font-size: 9px;
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
	padding-top: 15px;
	margin-top: 25px;
	border-top: solid 1px #ccc;
}

.scrolltop {
	display:none;
}
.scroll {
	margin: 0 0 0 0;
	font-weight: bold;
	cursor:pointer;
	position: fixed;
	right: 15px;
	color: #666;
	font-size: 26px;
	text-shadow: #ededed 1px 1px;
	bottom: 65px;
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.scroll > i{
	font-size: 36px;
}

#pagination{
	text-align: center !important;
	margin-left: 12vw;
	color: #ddd;
	display: block;
	font-size: 95%;
	font-family: Lora, serif;
	font-style: italic;
	padding: 10px 5px;
}

.ais-Pagination ul{ 
	text-align: center; 
	margin: 0 auto;
}

.ais-Pagination-item--firstPage a, .ais-Pagination-item--lastPage a, .ais-Pagination-item--nextPage a, .ais-Pagination-item--previousPage a{
	font-style: normal;
	font-weight: 900 !important;
	background: #949494 !important;
	padding: 4px 9px !important;
	color: #efefef !important
} 

.ais-Pagination-item--selected a{
	font-weight: 900 !important;
	text-decoration: none;
	font-style: normal;
	background: #bbbbbb !important;
	color: #efefef !important
}

.ais-Pagination-item--disabled{
	display: none;
}

.ais-Pagination-item a{
	font-weight: normal;
	text-decoration: none;
	padding: 4px 9px;
	text-align: center;
	color: #949494;
	border-radius: 3px;
	background: #efefef;
	margin: 15px 5px;
}

li.ais-RefinementList-item{
	margin: 2px 0;
	padding: 7px;
}

li.ais-RefinementList-item--selected{
	background: #e8e8e8;
}

.ais-RefinementList .ais-RefinementList-label input{
		display:none !important
}
/* --------- MYSQL --------- */

#error{
	display: block;
	box-sizing: border-box !important;
	margin-top: 15px;
	padding: 10px 20px;
	width: 94%;
	background: #f7f9f9;
	border: #ccc 1px solid;
}

.form-group #error{
	font-size: 70%;
	margin-top: 0;
	padding: 5px 10px;
}

#succes{
	display: block;
	text-align: center;
	font-family: lora, serif;
	padding: 10px 20px;
	background: #f7f9f9;
	border: #ccc 1px solid;
}

/* --------- HEADERS --------- */

#topper{
	color: #555;
	padding-top: 40px;
	padding-bottom: 15px;
	padding-right: 7%;
	font-size: 28px;
	text-align: right;
	top: 0px;
	letter-spacing: 2.5px;
	line-height: 16px;
	left: 0px;
	position: relative;
	font-family: Montserrat, sans-serif;
	text-transform: uppercase;
	font-weight: 900;
	display: block;
	width: 93%;
}

#topper b{
	font-size: 32px;
	letter-spacing: -2px;
	font-style: italic;
	font-family: Lora, serif;
	margin-right: 10px;
}

a.logo{
	color: #666;
	padding: 5px 45px;
	display: inline-block;
	position: absolute;
	left: 25px;
	text-decoration: none;
	transition: all 1s ease-in-out; 
}

a.logo:after{  
	display:block;
	content: '';
	border-bottom: solid 1px #222;  
	padding: 5px;
	transform: scaleX(0);  
	transition: transform 1s ease-in-out;
}

a.logo:hover{
	color: #222;
	text-decoration: none;
}

a.logo:hover:after{
	transform: scaleX(1); 
}

span.head-button, a.head-button, span.head-button-m, a.head-button-m, a.log-button{
	color: #AAA;
	text-decoration: none;
	cursor: crosshair;
	text-align: right;
	font-size: 20px;
	font-family: Lora, Serif;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 0px 5px;
	margin: 0 5px;
	display: inline;
}

a.head-button-m{
	color: #a5a5a5;
	font-family: Work Sans, sans-serif;
	padding: 4px 8px;
	border-radius: 4px;
	background: #efefef;
}

a.log-button{
	color: #ccc;
	font-family: Work Sans, sans-serif;
	display: inline-block;
}

a.log-button:hover, a.head-button:hover{
	text-decoration: none;
	color: #000;
}

.profile{
	border-radius: 50px;
	-webkit-border-radius: 50px;
	margin-top: 15px;
	border: 1px solid #ccc;
	overflow: hidden;
	display: block;
	width: 45px;
	position: absolute;
	top: 40px;
	z-index: 10 !important;
	right: 20px;
	height: 45px;
}

.profile img{
	width: 50px;
}

/* --------- RECIPES --------- */

#magic-box{
	clear: both !important;
	position: relative;
}

#recipe-wrap, #recipe-wrap-rel{
	margin-left: 12vw;
	width: 81vw;
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	overflow: hidden;
	clear: both;
	content: '';
}

#recipe-wrap-rel{
	margin-left: 0;
	width: 92vw;}

.recept{
	display: block;
	background: #ffffff;
	float: left;
	-webkit-box-shadow: 1px 1px 3px 0 #e2e2e2;
	box-shadow: 1px 1px 3px 0 #e2e2e2;
	width: 23%;
	box-sizing: border-box !important;
	position: relative;
	height: 385px;
	padding: 10px;
	margin: 0.9%;
	z-index: 4 !important;
	overflow: hidden;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat;
}

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

.tblOverview table{
	width: 100%;
	table-layout: auto;
	white-space: nowrap !important;
}

.tblOverview tr:nth-child(even){
	background: #fff;
}

.tblOverview tr td{
	margin: 0;
	padding: 5px;
	z-index: 0;
}

.tblOverview .tblTitle a{
	font-family: Montserrat, sans-serif;
	font-weight: bold;
	color: #000;
	text-decoration: none;
}

.tblOverview .tblsource{
	font-size: 80%;
	overflow-wrap: break-word !important;
	word-break: break-word;
	word-wrap: break-word !important;
	hyphens: auto;
}

.categories{
	position: relative;
	width: 50px;
}

.cat-hover{
	position: absolute;
	top: 0;
	width: 50px;
	text-align:center;
	Z-index: 1 !important;
	left: 0;
	opacity: 1.0;
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	-ms-transition: all 0.6s ease;
	-o-transition: all 0.6s ease;
	transition: all 0.6s ease;
}

.cat-hide{
	font-size: 70%;
	text-transform: uppercase;
	padding: 3px;
	opacity: 0;
	background: #efefef !important;
	top: 0px;
	width: 1px;
	height: 12px;
	overflow: hidden;
	z-index: 0 !important;
	display: block;
	margin-left: 40px;
	border: 1px #ccc solid;
	postition: absolute;
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	-ms-transition: all 0.6s ease;
	-o-transition: all 0.6s ease;
	transition: all 0.6s ease;
}

.cat-hover:hover{
	color: #79ad4c;
}

.cat-hover:hover + .cat-hide{
	opacity: 1.0;
	width: 600px;
	z-index: 2 !important;
}

.thumb img{
	width: 100%;
	margin-top: -10%;
}

.thumb{
	text-align:center;
	height: 120px;
	width: 300px;
	margin: 5px auto;
	overflow: hidden;
	display: block;
}

.recept-title{
	font-size: 13px;
	width: 100%;
	font-weight: bold;
	box-sizing: border-box;
	line-height: 11px;
	text-align: center;
	padding: 8px 10px 8px 2px;
	background: #ffffff;
	font-family: Work Sans, sans-serif;
	position: absolute;
	bottom: 40px;
	left: 0;
}

.recept-title a{
	text-decoration: none;
}

.recept-info{
	font-size:  10px;
	text-transform: uppercase;
	color: #777;
	background: #f9f9f9;
	position: absolute;
	top: -80px;
	z-index: 2;
	padding: 10px;
	left: 10px;
	-webkit-transition: all 1s ease;
	transition: all 1s ease; 
	text-align: center;
	font-weight: 900;
	display: block;
}
.recept-edit{
	font-size:  20px;
	text-transform: uppercase;
	color: #777;
	z-index: 2;
	background: #f2f2f2;
	text-shadow: 1px 1px #fff;
	position: absolute;
	top: -80px;
	-webkit-box-shadow: 1px 1px 3px 0 #999;
	box-shadow: 1px 1px 3px 0 #999;
	-webkit-transition: all 1s ease;
	transition: all 1s ease; 
	right: 500px; 
	padding: 10px;
	text-align: center;
	font-weight: 900;
	display: block;
}

.recept:hover .recept-edit, .recept:hover .recept-info{
	top: 10px 5px;
}

.recept-edit a{
	margin: 10px;
	display: block;
}

.edit{
	color: #6bb2ff;
}

.delete{
	color: #ff2600;
}

.recept-stats{
	background: #fff;
	font-family: Lora, serif;
	padding: 5px 2px;
	border: 1px solid #FFFF00;
	font-size: 85%;
	text-align: center;
}

.recept-stats b{
	margin-left: 15px;
}

.favo-number{
	position: absolute;
	font-size: 150%;
	Font-weight: bold;
	top: 0px;
	right: 0px;
	display: block;
	padding: 15px 20px;
	z-index: 2;
}

#recipe-sheet, #recipe-sheet-portrait{
	display: block;
	background: #ffffff;
	-webkit-box-shadow: 1px 1px 10px 0 #ccc;
	box-shadow: 1px 1px 10px 0 #ccc;
	margin: 0 auto !important;
	position: relative;
	overflow: hidden;
	padding: 10px;
	width: 80%;
}

.sheet-title{
	font-size: 22px;
	font-weight: bold;
	padding-top: 10px;
	position: relative;
	margin-top: 30px;
	font-family: Montserrat, sans-serif;
	text-transform: uppercase;
	text-align: center;	
}

.sheet-box{
	position: absolute;
	display: block;
	width: 55px;
	background: #ffffff;
	height: 77vh;
	top: -10px;
	left: 38vw;
	-webkit-transform: rotate(-2deg);
	transform: rotate(-2deg);
	z-index: 1;
}

.sheet-tags{
	display: block;
	margin-bottom: 15px;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	color: #878787;
}

.sheet-info{
	font-family: Montserrat, sans-serif;
	text-transform: uppercase;
	font-size: 9px;
	display: block;
	background: #f2f2f2;
	padding: 25px;
	text-align: center;
	margin: 15px;
	line-height: 9px;
	font-weight: bolder;
	color: #00000;
}

.sheet-info b{
	font-family: lora, serif;
	font-size: 12px;
	padding-right: 5px;
	line-height: 10px;
}

.sheet-ing{
	font-family: lora, serif;
	line-height: 18px;
	word-break: break-all;
	font-size: 90%;
	white-space:pre-line;
	text-align: left;
	padding: 20px;
	box-sizing: border-box;
}

.sheet-ing > span.top{
	font-family: Work Sans;
	font-size: 14px;
	font-weight: bold;
	display: block;
	padding: 5px 15px 5px 5px;
	margin-bottom: 5px;
	width: 200px;
	border-bottom: 1px solid #bbb;
}

.sheet-rec{
	font-size: 16px;
	white-space:pre-line;
	display:inline-block;
	overflow: auto;
	padding: 15px;
}

.sheet-img{
	width: 100%;
	height: 55vh;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	white-space: nowrap;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: cover !important;
}

#recipe-sheet .recept-edit, #recipe-sheet-portrait .recept-edit{
	bottom: auto;
	top: 15px;
	left: 0px;
	right: auto;
}

/* ------ RATING ------ */

.div-rating{
	position: inline-block !important;
	width: 150px;
	margin: 0 auto;
	margin-top: 10px;
}

.content{
 border: 0px solid black;
 border-radius: 3px;
 padding: 5px;
 margin: 0 auto;
 width: 50%;
}

.post{
 border-bottom: 1px solid black;
 padding: 10px;
 margin-top: 10px;
 margin-bottom: 10px;
}

.post:last-child{
 border: 0;
}

.post h1{
 font-weight: normal;
 font-size: 30px;
}

.post a.link{
 text-decoration: none;
 color: black;
}

.post-text{
 letter-spacing: 1px;
 font-size: 15px;
 font-family: serif;
 color: gray;
 text-align: justify;
}
.post-action{
 margin-top: 15px;
 margin-bottom: 15px;
}

.like,.unlike{
 border: 0;
 background: none;
 letter-spacing: 1px;
 color: lightseagreen;
}

.like,.unlike:hover{
 cursor: pointer;
}

.totalrating{
	display: inline;
	font-size: 10px;
	text-transform: uppercase;
	position: absolute;
	top: 5px;
	left: 0;
}


@media only screen and (max-width: 1500px) and (orientation:portrait) {
	body{
		padding: 5px;
	}
	#sidebar{
		width: 14vw;
	}
	.recipe-wrap{
		margin-left: 15px;
		width: 93vw;
	}
	.ais-RefinementList{
		background: #fff;
		overflow: hidden;
		font-size: 75%;
	}
	li.ais-RefinementList-item{
		margin: 4px 0;
		padding: 7px 2px;
	}
	.ais-RefinementList-count, .ais-NumericMenu-count{
		display: none;
	}
	input:checked  ~ .recipe-wrap { 
		margin-left: 20vw;
		width: 75vw;
	}
	.sheet-img{
		height: 45vh;
	}
	.sheet-box{
		height: 57vh;
	}
	#search-bar select.tag-dropdown{
		width: 30%;
	}
	#btn{
		-webkit-border-radius: 0px;
		border-radius: 0px;
	}
	.recipe-wrap{
		margin-left: 15px;
		width: 104%;
	}
	input:checked  ~ .recipe-wrap { 
		margin-left: 22vw;
		width: 71vw;
	}
	.recept{
	  width: 31%; 
	}
	.recipe-wrap-rel .recept{
		width: 22.5%;
		height: 275px;
	}
	#recipe-sheet{
	  width: 100%;
	}
}

@media only screen and (max-width: 1500px) and (orientation:landscape) {
 	body{
		padding:5px;
	}
	#sidebar{
		width: 14vw;
	}
	.recipe-wrap{
		margin-left: 15px;
		width: 93vw;
	}
	.ais-RefinementList{
		background: #fff;
		overflow: hidden;
		font-size: 75%;
	}
	li.ais-RefinementList-item{
		margin: 4px 0;
		padding: 7px 2px;
	}
	.ais-RefinementList-count, .ais-NumericMenu-count{
		display: none;
	}
	#search-bar select.tag-dropdown{
		width: 38%;
	}
	#btn{
		-webkit-border-radius: 0px;
		border-radius: 0px;
	}
	input:checked  ~ .recipe-wrap { 
		margin-left: 20vw;
		width: 75vw;
	}
	.recept{
		width: 31%;
	}
	.recipe-wrap-rel .recept{
		width: 22.5%;
		height: 275px;
	}
	#recipe-sheet{
		width: 100%;
	}
}
@media only screen and (max-width: 479px) and (orientation:portrait) {
	#sidebar{
		width: 25vw;
		padding: 5px;
	}
	#body-wrap{
		padding: 10px 0 5px 0;
	}
	#recipe-wrap{
		margin-left: 28vw;
		width: 65vw;
	}
	#recipe-wrap-rel .recept, .recept{
		width: 48%;
		height: 175px !important;
	}
	input:checked  ~ .recipe-wrap { 
		margin-left: 30vw;
		width: 50vw;
	}
	#topper{
		font-size: 18px;
	}
	#topper b{
		font-size: 20px;
	}
	a.logo{
		padding: 0px 5px;
		margin-top: -25px;
		left: 5px;
	}
	span.head-button, a.head-button, a.log-button{
		font-size: 18px;
		padding: 0px 2px;
		margin: 0;
	}
	#searchbar > .ais-SearchBox  input{
		width: 54vw;
	}
	#recipe-sheet{
		width: 100%;
		padding: 0;
		box-shadow: none;
	}
	.sheet-ing{
		padding: 0px;
		margin-top: 15px;
		font-size: 13px;
	}
	.sheet-rec{
		padding: 0px;
		font-size: 15px;
	}
	.sheet-info{
		padding: 0px;
		margin: 25px 0;
		text-align: center;
		background: none;
	}
	#pagination{
		margin-top: 15px;
		margin-left: 26vw;
		font-size: 75%;
		padding: 0px 0px;
	}
	.ais-Pagination-item--firstPage a, .ais-Pagination-item--lastPage a, .ais-Pagination-item--nextPage a, .ais-Pagination-item--previousPage a, 
.ais-Pagination-item--selected a, .ais-Pagination-item a{
		padding: 3px 6px !important;
		margin: 3px;
	} 
	.footer img{
		left: 12px;
	}
}