/* 0.GENERAL */

@font-face {
	font-family: "PFDinTextComp Pro";
	src: url("../fonts/textfont/PFDinTextCompPro-Regular.ttf");
}
@font-face {
	font-family: "PFDinTextComp Pro";
	src: url("../fonts/textfont/PFDinTextCompPro-Medium.ttf");
	font-weight: bold;
}
@font-face {
	font-family: "PFDinTextComp Pro";
	src: url("../fonts/textfont/PFDinTextCompPro-Thin.ttf");
	font-style: thin;
}

body, .app > .main-container{
	font-family: "PFDinTextComp Pro";
	background-color: #fff !important;
	font-size: 20px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
	font-family: "PFDinTextComp Pro";
}

.gm-style{
	font-family: "PFDinTextComp Pro";
}

a{
	color:#1b998b;
}

a:hover{
	color:#87d68d;
}

img{
	max-width: 100%;
}

.margin-top{
	margin-top: 20px;
}

.btn-primary{
	background-color:#1b998b;
	color:#fff !important;
	font-weight: bold;
	font-size: 20px;
	border:0px;
}

.btn-primary:hover{
	background-color:#87d68d;
}

.btn-square{
	background-color:#1b998b;
	color:#fff !important;
	padding: 8px;
	font-size: 17px;
	font-weight: bold;
}

.btn-square i{
	padding-right: 10px;
}

h2{
	color:#1b998b;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 20px;
	font-size: 45px;
}

.error{
	color:#7a0505;
	padding:10px;
	text-align: center;
}

.display-inline-block{
	display: inline-block;
}


.custom-control{
	display: inline-block;
}

.custom-control-input:checked ~ .custom-control-indicator{
	background-color: #1b998b;
}

.collapse.show{
	display: block !important;
}

/* 1.HEADER */

#header{
	z-index: 999;
}

.header-navbar .navbar-header .navbar-brand {
	padding: 10px 6px !important;
	width: 170px;
}

.header-navbar.navbar-dark, .header-navbar.navbar-dark.navbar-horizontal{
	background-color:#1b998b;
}

.navbar-brand:hover{
	background-color: transparent !important;
}

.brand-logo{
	max-width: 100% !important;
}

.navbar{
	margin-bottom: 0px !important;
}

.header-navbar.navbar-dark, .header-navbar.navbar-dark.navbar-horizontal{
	border-radius: 0px;
}

.nav-item.dropdown-user{
	margin-top: 8px;
	margin-right: 26px;
}

/* Fix for bootsrtap fucking incosistency */
.show > .dropdown-menu {
	-webkit-transform: scale(1,1);
	-moz-transform: scale(1,1);
	-ms-transform: scale(1,1);
	-o-transform: scale(1,1);
	transform: scale(1,1);
	opacity: 1;
}



/* 2. SEARCH PAGE */

.search-header{
	padding-top: 30px;
	padding-bottom: 20px;
}

.search-input{
	background-color: #1b998b;
	border-radius: 0px;
	border: 0px;
	color:#fff;
	padding: 6px;
	font-weight: bold;
	font-size: 22px;
	line-height: 30px;
	width: 100%;
	display: block;
}

.secondary-search{
	display: block;
	text-transform: uppercase;
	font-size: 15px;
	font-weight: bold;
	float: left;
	padding-top: 8px;
	color:#1b998b;
}

.secondary-search:hover{
	color:#7a0505;
}

#meal-search-button{
	float: left;
	display: block;
	width: 42px;
	height: 42px;
	background-color: #1b998b;
	cursor: pointer;
	padding: 4px;
}

#meal-search-button:hover{
	background-color: #7a0505;
}

#meal-search-button img{
	width:30px;
	height:30px;
}

.no-results p{
	padding: 20px;
	text-align: center;
	font-weight: bold;
	color:#1b998b;
	text-transform: uppercase;
	font-size: 22px;
}

.show-more{
	width: 150px;
	margin: auto;
	text-transform: uppercase;
	display: block;
}

/* Filters */
.filters{
	padding-top: 20px;
	font-weight: bold;
}

.filters span, .filters .filter.active{
	color:#1b998b;
}

.filter.active{
	border: 2px solid #1b998b;
}

.filters .filter{
	color:#6fa2b3;
	display: inline-block;
	padding:5px;
	text-transform: uppercase;
}

.filter-container{
	width: 80%;
	margin: auto;
}


/* 3. RESTAURANT ARCHIVE */

.results-container{
	background:#bcebcb;
}

.restaurant{
	margin-bottom: 22px;
	cursor: pointer;
}

.restaurant div{
	height: 45px;
}

.results{
	margin-top: 30px;
	margin-bottom: 80px;
}

.restaurant .initial{
	background-color: #b3b3b3;
	color:#fff;
	font-size: 30px;
	font-weight: bold;
	text-align: center;
	line-height: 45px;
}

.restaurant .name{
	font-size: 25px;
	color:#1b998b;
	background-color:#ececec;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 45px;
}

.restaurant .grade{
	background-color:#1b998b;
	color:#fff;
	font-weight: bold;
	font-size: 30px;
	text-align: center;
	line-height: 45px;
	position: relative;
}

.restaurant .grade.distance::after{
	content: "m";
	background: none;
	position: initial;
}

.restaurant .grade::after, .res-grade span::after ,.map-score span::after{
	content: "★";
	position: absolute;
	top: 10px;
	right: 11px;
	width: 19px;
	height: 10px;
	z-index: 9999;
	background-size: contain;
	background-repeat: no-repeat;
	font-size: 18px;
}

.map-score span::after{
	top: -10px;
}

.restaurant .grade::after{
	top:-8px;
}

.res-grade-legend ul{
	margin-top: 10px;
	margin-left: 10px;
	padding:0px;
}

.res-grade-legend ul li{
	list-style: none;
	line-height: 20px;
	text-transform: uppercase;
	font-size: 15px;
}

.res-grade-legend ul li.high-score::before{
	content:"●";
	color:#2E8B57;
}

.res-grade-legend ul li.medium-score::before{
	content:"●";
	color:#FF8C00;
}

.res-grade-legend ul li.low-score::before{
	content:"●";
	color:#FF4500;
}

.high-score span{
	color:#2E8B57 !important;
}

.medium-score span{
	color:#FF8C00  !important;
}

.low-score span{
	color:#FF4500  !important;
}

/* Search Owner */

h5.owner-desc{
	color:#87d68d;
	text-align: center;
	padding: 15px;
	font-size: 22px;
	font-weight: bold;
}

.claim-cta {
	background: #da4453;
	padding: 0px;
	text-align: center;
}

.claim-cta-text{
	display: none;
	color:#fff;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 45px;
}

.restaurant:hover .claim-cta{
	background: #87d68d
}

.restaurant:hover .claim-cta .claim-cta-text{
	display: inline;
}

.restaurant:hover .owner-flag{
	display: none;
}

/* Map Restaurant Info Window */

.restaurant-infowindow {
	width: 170px;
	height: auto;
	text-align: center;
}

.map-score span{
	background-color: #48a088;
	font-size: 20px;
	height: 60px;
	width: 60px;
	border-radius: 100%;
	line-height: 60px;
	font-weight: bold;
	margin: auto;
	color: #fff;
	display: block;
	text-align: center;
	position: relative;
}

.map-score span::after{
	right: 2px;
}

.restaurant-infowindow h3, .map-dist{
	text-align: center;
	color:#1b998b;
	text-transform: uppercase;
	font-weight: bold;
}

.map-dist{
	font-size: 15px;
}

.restaurant-infowindow  .btn-primary{
	display: inline-block;
	font-size: 15px;
}


/* 4. RESTAURANT SINGLE */

.res-name{
	float: left;
}

.res-links {
	padding-top: 10px;
}

.res-title h1 , .res-title .search-term{
	text-transform: uppercase;
	font-weight: bold;
	color:#1b998b;
	margin-bottom: 0px;
	font-size: 40px;
	float: left;
}

.res-title h4.search-term{
	font-weight: normal;
	padding-left: 4px;
}

.res-title .cta-title{
	font-size: 17px;
	color:#88c4c4;
	font-weight: bold;
	display: block;
	width: 100%;
	cursor: pointer;
}

.res-int span{
	background-color: #b3b3b3;
	color: #fff;
	font-size: 46px;
	font-weight: bold;
	text-align: center;
	line-height: 50px;
	padding: 11px;
	width: 70px;
	display: block;
	border-radius: 100%;
}

.rest-header {
	padding: 10px;
}

.res-backlink{
	float:left;
}

.owner-flag{
	float: right;
	background-color: #da4453;
	height: 41px;
	display: inline-block;
	width: 43px;
	padding: 8px;
}

.res-claim{
	display: block;
	float: right;
	border-radius: 0px;
}


.owner-flag i{
	color: #fff;
	font-size: 23px;
}

.res-star{
	height: 40px;
	width: 40px;
	background-color:#1b998b;
	display: block;
	padding: 5px;
}

.res-title, .res-grade{
	float: left;
}

.res-grade{
	margin-left: 21px;
	margin-top: -4px;
}

.res-grade span{
	font-size: 40px;
	font-weight: bold;
	position: relative;
	color:#1b998b;
}


.res-grade span::after{
	content: "★";
	right: -20px !important;
	top: 3px !important;
}

.edit-restaurant {
	background: #f3f3f3;

}
.restaurant-information {
	background: #f3f3f3;
	border-radius: 2px;
	padding: 20px;
}
.oneRow {
	border-bottom: 1px solid #ccc;
}
.restaurant-panel {
	background: #1b998b;
	color: #e6e6e6;
	padding: 20px;
	height: 300px;
	margin: 0;
}

.restaurant-panel a{
	color: #e6e6e6;
	font-weight: bold;
}

.restaurant-panel span{
	float: left;
}

.restaurant-panel h5 {
	text-align: center;
	margin-bottom: 40px;
}
.res-grade-box {
	position: absolute;
	left: 74%;
	top: 33%;
	transform: translate(-50%, -50%);
	color: #1b998b;
	z-index: 99;
}

.res-grade-box span{
	font-size:61px !important;
}
.restaurant-social {
	border:1px solid #e6e6e6;
	background: #e6e6e6;
	height: 98px;
	width: 150px;
	padding: 10px;
	text-align: center;
	position: absolute;
	bottom: 0;
	left: 15%;
	color: #1b998b;
}
.extra-fields {
	height: 400px;
}
.chart,.extra-fields {
	background: #fff;
	padding-right: 0
}

.chart-box{
	background: #f3f3f3;
	padding:0 0 0 15px;
	position: relative;
}

.advertisment {
	border: 1px solid #000;
	height: 350px;
	background: #000;
	position: relative;
}
.advertisment h3 {
	color: #fff;
	text-align: center;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.chart-panel,.advertisment {
	border: 0;
}

.restaurant-social p{
	padding-top: 5px;
}
.social-icons img{
	width: 30px;
}

.image-gallery img{
	max-height: 400px;
	width: auto;
}

.image-gallery.small img{
	max-height: 300px;
}

.position-relative.has-icon-left .form-control-position{
	position: absolute;
	left: -13px;
	top: 6px;
}

/* 5. PROFILE */

.profile {
	padding: 5% 10%;
}

.profile-title,.profile-content,fieldset{
	display: inline;
	text-transform: uppercase;
}
.profile-title-cuisine {
	display: block;
}
.profile-subtitle, .choices, fieldset {
	display: inline;
}
.profile span {
	font-weight: lighter;
	color: #0b5f7b;
	margin:0 5px 0 10px ;
}
.profile strong {
	color: #1b998b;
	font-weight: bolder;
}
.profile p {
	color: #0b5f7b;
}
.profile-btn {
	background: #055c79;
	color: #fff;
	font-size: 20px;
	font-weight: bolder;
	margin-left: 10%;
}

/* 6. HOME */

.home-page {
	position: fixed;
	left: 0px;
	top: 65px;
	background: url('../meal_images/home.png') no-repeat;
	height: 100%;
	width: 100%;
	background-size: cover;
}

.cta-home{
	position: fixed;
	width: 40%;
	left: 30%;
	top:280px;
	min-width: 450px;
}

/* 7. LOGIN */

/* Temp FB Login */

.fb-login img{
	width: 100px;
}

.login-back{
	background:  url('../meal_images/home.png') no-repeat;
	height: 100%;
	position: fixed;
	width: 100%;
	left: 0px;
	background-size: cover;
}

.login-card{
	margin-top: 80px;
	text-align: center;
	background-color: #fff;
	padding: 60px;
}

.rest-owner-link{
	margin-top: 35px;
}

.login-owner{
	margin-top: 30px !important ;
}

.login-owner .card-block{
	padding-top: 0px;
}

.login-owner .form-group ,
.login-owner input{
	width: 100%;
}

/* 8. FOOTER */
.footer-container{
	background-color: #00a78f;
	padding: 20px;
	float: left;
	width: 100%;
}

.footer-container img{
	width: auto;
	display: block;
}

.footer-container .left-copy{
	float: left;
}

.footer-container .right-copy{
	float: right;
	margin-left: 20px;
}

.header-navbar .navbar-container ul.nav li a.dropdown-user-link .user-name{
	display: inline !important;
}

@media only screen and (max-width: 750px) {
	.home-page{
		background-size: cover;
		min-height: 400px;
		position:initial;
	}
	.mobile-menu{
		display: none !important;
	}
	.extra-fields{
		height:auto;
	}
	.cta-home{
		width: 75%;
		left: 15%;
		min-width: 150px;
	}
	.page-restaurantsearch #meal-search-button{
		margin-top:10px;
		float:right;
		margin-bottom:10px;
	}
	.res-links{
		width: 100%;
	}
	.restaurant-social{
		position: inherit;
	}
	.footer-container .left-copy{
		margin-bottom: 20px;
	}
}


@media only screen and (max-width: 480px) {
	.cta-home{
		width: 90%;
		left: 5%;
		top: 200px;
	}
	.res-name{
		width:100%;
		margin-bottom: 10px;
	}
	.image-gallery img, .restaurant-panel{
		height: auto;
		margin-bottom: 20px;
	}
	.res-grade-box{
		transform: none;
		position: initial;
	}
	
	.results{
		padding:20px;
	}
	.restaurant .initial{
		width:10%;
		float:left;
	}
	.restaurant .name{
		width:70%;
		float:left;
	}
	.restaurant .grade ,  .restaurant .claim-cta{
		width:20%;
		float:left;
	}
	.restaurant div{
		height:auto;
	}
}


/* The container */
.container_li {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default checkbox */
.container_li input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #eee;
	border: #1B998B 2px solid;
}

/* On mouse-over, add a grey background color */
.container_li:hover input ~ .checkmark {
	background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container_li input:checked ~ .checkmark {
	background-color: #1B998B;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkmark when checked */
.container_li input:checked ~ .checkmark:after {
	display: block;
}

/* Style the checkmark/indicator */
.container_li .checkmark:after {
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}


.filter_checkbox{
	margin-top: 10px;
	border: 2px solid #1B998B;
	font-size: 15px;
	font-weight: 800;
}

.filter_checkbox h1{
	font-size: 30px;
	font-weight: 800;
	padding-left: 10px;
	padding-top: 10px;
}

.filter_checkbox .panel {
	padding-left: 10px;
}

.filter-icons{
	padding-right: 14px;
}

.filter_search{
	margin-top: 94px;
}

.filter_checkbox label{
	color: #1b998b;
}


