/*
	Theme Name: Pellici
	Theme URI: 
	Description: A custom WordPress theme based on HTML5 Blank
	Version: 1.0.0
	Author: Forty8Creates
	Author URI: https://forty8creates.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}abbr[title]{border-bottom:none;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}

.reviews span {
	display: inline-block!important;
}
#grw_widget-2,
#grw_widget-3 {
	 background: #fff;
    padding: 1em;
    border: 1px solid #ddd;
    margin-top: 2.2em;
    float: none;
    overflow: auto;
    max-width: 468px;
    margin: 2.2em auto 0 auto;
}
.wp-google-place {
	border-bottom: 1px solid #ddd!important;
    padding-bottom: 1em!important; 
}

/*------------------------------------*\
    FLEXBOX
\*------------------------------------*/

.flex {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}

.align-center {
	align-items: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
}

.justify-center {
	justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
}

.wrap {
	flex-wrap: wrap;
}


/*------------------------------------*\
    LINKS
\*------------------------------------*/

a.button, a.button:visited, #nf-field-7 {
	padding: 1em 1.5em;
	font-size: 1.2em;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	background: #00652a;
	display: inline-block;
	transition: 0.2s ease-in-out;
	outline: none; 
	border: none;
}
a.button:hover, a.button:active, #nf-field-7:hover, #nf-field-7:active {
	background: #017832;
	color: #fff;
	outline: none; 
	border: none;
}

a.button.secondary {
	background: #e30613;
}
a.button.secondary:hover, a.button.secondary:active {
	background: #bb040f;
}
a.takeawaymenu {
	
}

#nf-field-7 {
	border: none!important;
}
#nf-field-7-container {
	margin-bottom: 0;
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	line-height:1.15;
	overflow-x: hidden;
}
body {
	font:400 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
	color:#444;
	margin:0;
	overflow-x: hidden;
	position: relative;
}

#pageoverlay:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0);
	transition: 0.5s ease-in-out;
	z-index: 1;
	pointer-events: none;
}

main {
	min-height: calc(100vh - 514px);
	overflow: hidden;
	background: #f3efde url('img/ricepaper.gif');
	position: relative;
}

article {
	padding-bottom: 4em;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
img {
	max-width:100%;
	vertical-align:bottom;
	border-style:none
}
a {
	color:#444;
	text-decoration:none;
	background-color:transparent
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

h1, h2 {
	font-family: 'Satisfy', cursive;
	text-align: center;
	font-size: 3em;
}


.mobile-hours,
#tap-to-call,
#tap-to-email,
.nf-before-form-content {
	display: none;
}

.underscore {
	position: relative;
}
.underscore:after {
	content: '';
	width: 30px;
	height: 6px;
	background: #00652a;
	position: absolute;
	bottom: -11px;
	left: 50%;
	margin-left: -15px;
}
.red.underscore:after {
	background: #e30613;
}
.footer .underscore:after {
	left: 0;
	margin-left: 0;
}

.hero {
	overflow: hidden;
	text-align: center;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	min-height: 600px;
}
.hero h2 {
	color: #fff;
    font-size: 8em;
    margin: 0;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
    line-height: 0.7em;
    margin-bottom: 0.3em;
}
.hero h2 span {
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
	display: block;
}

.tag {
	text-align: center;
	padding: 1em;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 1px;
	color: #fff;
	background: #111;
	margin: 0;
}

.fill-container {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -999999em;
}

.awards {
  position: absolute;
  right: 3em;
  top: 1em;
}
#CDSWIDCOE.widCOE {
    border: none!important;
}
#CDSWIDSSP {
	margin: 0 auto!important;
}

.header .tripadvisor {
	position: absolute;
}

.gallery-slider img {
	max-height: 300px;
	width: auto!important;
}

.slick-slide {
	outline: none;
	padding: 1em 0.5em;
}

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

#nf-form-1-cont nf-field:first-child,
#nf-form-1-cont nf-field:nth-child(2) {
	float: left;
	width: 50%;
}
#nf-field-1-wrap,
#nf-field-3-wrap {
	width: calc(100% - 7.5px);
}
#nf-field-3-wrap {
	float: right;
}
#nf-field-1-wrap {
	float: left;
}

#nf-form-1-cont input,
#nf-form-1-cont textarea {
	outline: none;
	border: 1px solid #bbb;
	padding: 1em;
}

.nf-error-wrap,
.nf-after-form-content {
	display: none;
}

#nf-form-1-cont .nf-error input,
#nf-form-1-cont .nf-error textarea {
	border-color: #e30613;
	background: #ffd1d4;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

#closures,
#specials-menu {
	overflow: hidden;
	color: #fff;
	background: #00652a;
	text-align: center;
}
#specials-menu {
	text-align: left;
}
#closures p {
	background: url('img/svg/notice.svg') left 15px center/24px no-repeat;
	padding-left: 54px;
	margin: 0;
	display: inline-block;
}



.header {
	position: relative;
	z-index: 10;
}

.header,
.footer {
	background: #fff;
	-webkit-box-shadow: 0px 0px 36px 0px rgba(104,97,67,0.3);
	-moz-box-shadow: 0px 0px 36px 0px rgba(104,97,67,0.3);
	box-shadow: 0px 0px 36px 0px rgba(104,97,67,0.3);
}

.logo {
	width: 120px;
	height: 120px;
	background: url('img/pellicci-logo.svg') center center no-repeat;
	background-size: contain;
	position: relative;
	margin: 25px auto 0 auto;
}
.logo a {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.footer .col-4:first-child p {
	margin-bottom: 0;
	font-weight: 700;
}
.footer .inner {
	float: right;
}
.footer .col-6:last-child {
	text-align: right;
}
a.ig {
	width: 50px;
	height: 50px;
	background: url(img/iglogo.jpg) center center no-repeat;
	background-size: contain;
	display: inline-block;
}
article.post-11 {
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 50%;
}
article.post-27 .col-6 {
	background: #fff;
	-webkit-box-shadow: 0px 0px 36px 0px rgba(104,97,67,0.3);
	-moz-box-shadow: 0px 0px 36px 0px rgba(104,97,67,0.3);
	box-shadow: 0px 0px 36px 0px rgba(104,97,67,0.3);
	padding: 2em;
}

/*------------------------------------*\
    FOOD MENU
\*------------------------------------*/

.masonry [class*="col-"] {
	display: inline-block;
	padding: 0;
}

#sandwich-menu .col-6,
#sandwich-menu .col-2,
#grilled-sandwich-menu .col-6,
#grilled-sandwich-menu .col-2,
#burger-menu .col-6,
#burger-menu .col-2 {
	padding: 0;
}

.masonry .col-9 {
	float: none;
}
.masonry .col-3 {
	float: right;
	padding-left: 30px;
}

.masonry {
	column-count: 2;
    column-gap: 1em;
    overflow: auto;
}

.masonry .name,
.masonry .price {
	font-weight: 700;
}

.menu-section {
	text-transform: uppercase;
	color: #00652a;
	border-bottom: 2px solid #00652a;
	padding-bottom: 0.5em;
	margin-bottom: 0.5em;
}
#specials-menu .menu-section {
	color: #fff;
	border-color: #fff;
}
.menu-section span {
	font-weight: 400;
	color: #444;
	text-transform: capitalize;
}

.feature-image {
	position: relative;
	overflow: hidden;
	padding-bottom: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.feature-image a {
	text-indent: -999999em;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 5;
}
.feature-image h3 {
	color: #fff;
	text-transform: uppercase;
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 1;
}
.feature-image .overlay {
	content: '';
	width: 100%;
	height: 4em;
	position: absolute;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.5);
	transition: 0.2s ease-in-out;
}
.feature-image:hover .overlay {
	background: rgba(0,0,0,0.8);
	height: 100%;
}
.feature-image .more {
	text-indent: -999999em;
	width: 50px;
	height: 50px;
	position: absolute;
	top: 60%;
	margin-top: -25px;
	left: 50%;
	margin-left: -25px;
	z-index: 10;
	pointer-events: none;
	opacity: 0;
	background-image: url('img/svg/more.svg');
	background-size: contain;
	transition: 0.2s ease-in-out;
	display: block;
}
.feature-image:hover .more {
	opacity: 1;
	top: 50%;
}

/*------------------------------------*\
    REVIEWS
\*------------------------------------*/

.page-id-19 .masonry {
	column-count: 3;
    column-gap: 1em;
    overflow: auto;
	padding: 1em;
}
.review {
	display: inline-block;
	background: #fff;
	padding: 1em;
	-webkit-box-shadow: 0px 0px 36px 0px rgba(104,97,67,0.3);
	-moz-box-shadow: 0px 0px 36px 0px rgba(104,97,67,0.3);
	box-shadow: 0px 0px 36px 0px rgba(104,97,67,0.3);
	margin-bottom: 1em;
	width: 100%;
}
.review h2 {
	font-size: 1.5em;
	background: url('img/svg/left-quote.svg') center top/30px no-repeat;
	padding-top: 2em;
}
.reviews span {
	display: block;
	text-align: center;
}

/*------------------------------------*\
    NAV
\*------------------------------------*/

.nav {
	text-align: center;
	position: relative;
}
.nav ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.nav li {
	display: inline;
}
.nav a, 
.nav a:visited {
	display: inline-block;
	text-transform: uppercase;
	padding: 15px 0;
	margin: 0 39px;
	border-bottom: 6px solid #fff;
	transition: 0.2s ease-in-out;
}
.nav a:hover,
.nav a:active {
	border-color: #00652a;
}
.nav .current_page_item a {
	font-weight: 700;
	border-color: #00652a;
}

.footer .nav a {
	border: none;
}

.f8c {
    padding-right: 20px;
    background: url(img/svg/f8c.svg) right center/13px 14px no-repeat;
    display: inline-block;
}

.footer .bottom .col-4:last-child {
	text-align: right;
}
.footer .bottom .col-4:nth-child(2) {
	text-align: center;
}

/*------------------------------------*\
    GRID
\*------------------------------------*/

.wrapper-medium {
	max-width:1010px;
	margin:0 auto;
	position:relative;
}
.wrapper-small {
	max-width:800px;
	margin:0 auto;
	position:relative;
}

.row {box-sizing: border-box; overflow: auto;}

[class*="col-"] {float: left; padding: 15px; position: relative;}

.col-1 	{width: 8.33%;}
.col-2 	{width: 16.66%;}
.col-3 	{width: 25%;}
.col-4 	{width: 33.33%;}
.col-5 	{width: 41.66%;}
.col-6 	{width: 50%;}
.col-7 	{width: 58.33%;}
.col-8 	{width: 66.66%;}
.col-9 	{width: 74.5%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width: 500px) {
	.post-3 .col-4 {
		width: 100%!important;
	}
	#nf-form-1-cont nf-field:first-child,
	#nf-form-1-cont nf-field:nth-child(2) {
		float: none;
		width: 100%;
	}
	#nf-field-1-wrap,
	#nf-field-3-wrap {
		width: 100% ;
	}
	#nf-field-3-wrap {
		float: none;
	}
	#nf-field-1-wrap {
		float: none;
	}
} 

@media only screen and (max-width: 650px) {
	
	body.active #tap-to {
		opacity: 0;
		pointer-events: none;
	}
	#tap-to {
		display: block;
		position: fixed;
		top: 55px;
		left: 0;
		opacity: 1;
		transition: 0.2s ease-in-out;
		pointer-events: auto;
	}
	#tap-to-call,
	#tap-to-email {
		width: 45px;
		height: 73px;
		position: relative;
		background: url('img/svg/call.svg') center center/22px no-repeat;
		display: inline-block;
	}
	#tap-to-email {
		background-image: url('img/svg/email.svg');
	}
	#tap-to a {
		position: absolute;
		width: 100%;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		text-indent: -999999em;
		display: block;
		border: none;
		padding: 0;
		height: 57px;
	}
	
	.footer .nav {
		display: none;
	}
	.footer .col-4 {
		width: 100%;
	}
	.footer .top .col-4:nth-child(2) {
		display: none;
	}
	.footer .inner {
		float: none;
	}
	.footer .bottom .col-4:last-child,
	.footer .bottom .col-4:nth-child(2) {
		text-align: left;
	}
	.footer .bottom .col-4:nth-child(2) {
		padding: 0 15px;
	}
	a.ig {
    	height: 55px;
	}
	.header {
		position: fixed;
		width: 100%;
	}
	main {
		margin-top: 128px;
	}
	.nav ul {
		margin: 0.8em 2em;
	}
	.nav li {
		display: block;
	}
	.nav {
		text-align: left;
		position: relative;
	}
	.nav a, .nav a:visited {
		border-bottom: none;
		border-left: 6px solid #fff;
		padding: 5px 15px;
		margin: 8px 0!important;
	}
	.nav a:hover,
	.nav a:active {
		border-color: #00652a;
	}
	.nav .current_page_item a {
		font-weight: 700;
		border-color: #00652a;
	}
	#toggle-menu {
		display: block;
		width: 73px;
		height: 73px;
		background: #fff url(img/svg/baseline-dehaze-24px.svg) center center/22px 22px no-repeat;
		position: absolute;
		left: -73px;
		cursor: pointer;
	}
	#slide-nav.active #toggle-menu {
		background-image: url('img/svg/baseline-clear-24px.svg');
	}
	#slide-nav {
		background: #fff;
		float: none;
		position: fixed;
		top: 55px;
		right: -300px;
		z-index: 1500;
		height: 100%;
		width: 300px;
		transition: right .5s;
	}
	#slide-nav.active {
		right: 0;
	}
	.logo {
		width: 75px;
		height: 57px;
		margin: 0.5em auto;
	}
	body.active #pageoverlay:before {
		background: rgba(0,0,0,0.8);
		pointer-events: auto;
	}
	.top .col-4:first-child {
		border-bottom: 1px dashed #f3efde;
	}
	.top .col-4 h3 {
		margin-top: 0;
	}
	.footer .col-6,
	.footer .col-6:last-child {
		text-align: center;
		width: 100%;
		padding: 5px 15px;
	}
	.footer .col-6:last-child {
		padding-bottom: 15px;
	}
	.mobile-hours {
		display: block;
		font-size: 0.875em;
		background: #f3efde;
    	padding: 2em 53px;
	}
	.mobile-hours p {
		margin-bottom: 0;
		font-weight: 700;
	}
	.mobile-hours p:first-child {
		margin-top: 0;
	}
	.masonry {
		column-count: 1;
		column-gap: 1em;
	}
	.masonry .col-3 {
		text-align: right;
	}
	.hero {
		min-height: 350px!important;
	}
	.hero h2 {
		font-size: 5em!important;
	}
	.hero h3 {
		font-size: 1.5em!important;
	}
	.post-3 .col-4 {
		width: 50%;
	}
	.page-id-19 .masonry {
		column-count: 1!important;
	}
	.awards {
		position: static;
		right: auto;
		top: 0;
		text-align: center;
    	background: #000;
	}
	.awards img {
		max-width: 150px;
	}
	.header .tripadvisor {
		display: none;
	}
}

@media only screen and (max-width: 768px) {
	a.ig {
		background-position: left top 4px;
	}
	.hero {
		min-height: 450px;
	}
	.hero h2 {
		font-size: 6em;
	}
	.hero h3 {
		font-size: 1.8em;
	}
	a.takeawaymenu {
		display: block;
		margin: 3px 0px;
	}
}

@media only screen and (max-width: 800px) {
	article.post-11 .col-6 {
		margin: 0 auto;
		float: none;
		padding-top: 18em;
	}
	article.post-11 {
		background-repeat: no-repeat!important;
		background-position: center top 20%!important;
		background-size: 300px!important;
	}
}

@media only screen and (max-width: 900px) {
	.nav a, .nav a:visited {
		margin: 0 19px;
	}
	#closures p {
		font-size: 0.875em;
	}
	.page-id-19 .masonry {
		column-count: 2;
	}
}

@media only screen and (max-width: 1000px) {
	article.post-11 {
		background-size: 40%;
	}
}

@media only screen and (max-width: 1024px) {
	.reviews main .col-6 {
		width: 100%;
	}
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}


/*------------------------------------*\
    SLICK
\*------------------------------------*/

.slick-list,.slick-slider,.slick-track{position:relative;display:block}.slick-loading .slick-slide,.slick-loading .slick-track{visibility:hidden}.slick-slider{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{top:0;left:0;margin-left:auto;margin-right:auto}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}
