/*
	Theme Name: Monster Pizza
	Theme URI: http://monsterpizza.ee
	Description: Monster Pizza WordPress Theme
	Version: 1.0.0
	Author: Raido Kislov
	Author URI: http://facebook.com/raidokislov
	Tags: Monster, Pizza, HTML5, CSS3

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

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

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html, body {
	width: 100%;
	height: 100%;
	margin: 0;
    min-height: 100%;
    padding: 0;
}
html {
	font-size:62.5%;
	overflow: hidden;
}
body {
	font:300 11px/1.4 'Rubik', sans-serif;
	font-style: italic;
	background-color:#DF0020;
	padding-bottom: 40px;
	position: relative;
	overflow: auto;
	overscroll-behavior-y: none;
	transition: background-color 1s;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#fff;
	cursor: pointer;
}
a:hover {
	color:#000;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

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

/* wrapper */
.wrapper {
	margin:0 auto;
	position:relative;
	height: 100%;
	position: fixed;
    width: 100%;
    padding-bottom: 40px;
	overflow: hidden;
	overscroll-behavior-y: none;
}
/* header */
.header {
	height: 25%;
}
/* logo */
.logo {
	text-align: center;
    padding: 20px;
	height: 100%;
	position: relative;
}
.logo .main-logo {
	transform: translate(-50%, 50%);
    position: absolute;
	cursor: pointer;
}
.logo-img-desktop {
	display: none;
}
.logo-img-mobile {
	display: inherit;
	height: 100%;
    margin: auto;
}
.logo-img-menu {
	display: inherit;
	height: 80%;
    margin: auto;
}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {
	position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
	padding: 0 20px;
}

.footer-text {
	font-size: 1.1em;
	font-weight: 600;
}

.desktop {
	display: none;
}

.view-menu {
	font-weight: 800;
	text-transform: uppercase;
	text-decoration: underline;
	color: #fff;
}

.menu-overlay {
	width: 100%;
	height: 0;
	position: absolute;
	background-color: #DF0020;
	z-index: 10;
	transition: height 0.5s, opacity 0.5s;
	bottom: 0;
	opacity: 0;
	overflow-y: scroll;
    overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

.menu-overlay.opened {
	opacity: 1;
	height: 100%;
}

.menu-close {
	position: fixed;
	right: 20px;
	top: 20px;
	width: 30px;
	height: 30px;
	z-index: 10;
	cursor: pointer;
	transform: rotate(12deg);
	border: 2px solid #fff;
    border-radius: 100%;
	display: none;
}
.menu-overlay.opened .menu-close {
	display: inherit;
}
.menu-close:hover {
	border: 2px solid #000;
}
.menu-close:before, .menu-close:after {
	position: absolute;
	left: 12px;
	top: 3.5px;
	content: ' ';
	height: 18px;
	width: 2px;
	background-color: #fff;
}
.menu-close:hover:before, .menu-close:hover:after {
	background-color: #000;
}
.menu-close:before {
	transform: rotate(45deg);
}
.menu-close:after {
	transform: rotate(-45deg);
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

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

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    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;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

/*CUSTOM STYLE*/

/* external css: flickity.css */

* { box-sizing: border-box; }

.carousel {
	height: 75%;
	padding-bottom: 7.5vh;
	overflow: hidden;
}

.carousel-cell {
	width: 60%;
	height: calc(100% - 7.5vw);
	margin-right: 10vw;
	background: white;
	border: 6px solid black;
	counter-increment: carousel-cell;
	background-size: cover;
	background-position: center;
	transform: scale(0.5);
	opacity: 0;
	transition: transform .5s, opacity .5s;
}

.carousel-cell.fade-in {
	transform: scale(1);
	opacity: 1;
}

/* cell number */
.carousel-cell:before {
	display: block;
	position: absolute;
	width: 100%;
	text-align: center;
	content: attr(data-text);
	font-size: 10vw;
	font-weight: 800;
    font-style: italic;
	text-transform: uppercase;
	color: rgba(255,255,255,0);
	text-shadow: 0vw 0vw 0px rgba(0, 0, 0, 0);
	transform: rotate(-4deg);
	bottom: -10vw;
	-webkit-text-stroke-width: 0.3vw;
	-webkit-text-stroke-color: white;
	transition: color 1s, text-shadow 1.5s, -webkit-text-stroke-color 1s, bottom 1s;
}
.carousel-cell.is-selected:before {
	color: rgba(255,255,255,1);
	text-shadow: 1vw 1vw 0px rgba(0, 0, 0, 1);
	bottom: -8vw;
	-webkit-text-stroke-color: black;
}

.flickity-page-dots {
	display: none;
}

.flickity-viewport {
	height: 100% !important;
}

.flickity-slider {
	position: relative !important;
}

.flickity-button {
    opacity: 1;
	transition: opacity 0.5s;
}

.flickity-button:disabled {
    opacity: 0 !important;
}
.flickity-prev-next-button {
    /*border: 3px solid #fff !important;*/
    /*background: transparent !important;*/
    /*color: #fff !important;*/
	color: #000 !important;
	opacity: 0.75 !important;
	transform: translateY(-50%) scale(0.9) !important;
	transition: all 0.5s;
}
.flickity-prev-next-button:hover {
    /*background: transparent !important;*/
	opacity: 1 !important;
	transform: translateY(-50%) scale(1) !important;
}

.fa {
	font-size: 2em !important;
	text-align: center;
	text-decoration: none;
	padding: 0 5px;
}
.fa:hover {
    color: black;
}
.fa-facebook-square {
	color: white;
}
.fa-instagram {
	color: white;
}
.social {
	display: table;
	height: 100%;
	float:right;
}
.social-wrapper {
	vertical-align: middle;
    display: table-cell;
}
.logo-wrapper {
	width: calc(100% - 40px);
	height: calc(100% - 40px);
	position: absolute;
	z-index: 0;
}
.logo-wrapper-menu {
	width: calc(33% - 40px);
	height: calc(20% - 40px);
	position: absolute;
	z-index: -1;
	left: 40px;
    top: 20px;
}
.mobile-call {
	position: absolute;
    top: 20px;
	color: #fff;
	margin: 0;
	z-index: 1;
}
.mobile-call a {
	text-decoration: none;
}

.view-meni-wrapper {
	position: relative;
}
.view-text {
	position: absolute;
    left: 50%;
	top: 0;
    transform: translateX(-50%);
    text-decoration: underline;
	opacity:1;
	transition: opacity 0.5s;
}
.view-text.menu-animation {
	opacity:0;
	pointer-events: none;
}
.menu-content {
		width: 80%;
		margin: auto;
	}
.menu-content ul {
	columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    list-style: none;
    padding: 0 20px;
    color: white;
    font-weight: 800;
    font-size: 2em;
	/*white-space: nowrap;*/
	text-transform: uppercase;
	display: table;
}
.menu-content ul li {
	float: left;
    display: inline-block;
	margin-bottom: 1.5em;
	/*height: 50px;*/
	width: 50%!important;
    padding-right: 20px;
	display: table-row;
}
.menu-content ul li ul {
	columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
    list-style: none;
    padding: 0;
    color: white;
    font-weight: 400;
    width: auto;
	font-size: 0.5em;
	display: table-row;
}
.menu-content ul li ul li {
	float: left;
    display: inline-block;
	white-space: normal;
	margin-bottom: 0;
	height: auto;
	width: 100%!important;
}
.menu-content p {
	text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    font-size: 1.5em;
    font-weight: 500;
}
.menu-label {
	width: 100%;
}
.menu-label p {
	display: block;
	margin-top: 20px;
    margin-bottom: 20px;
	max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
    font-size: 10vw;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    color: rgba(255,255,255,1);
    text-shadow: 1vw 1vw 0px rgba(0, 0, 0, 1);
    transform: rotate(-4deg);
    -webkit-text-stroke-width: 0.3vw;
    -webkit-text-stroke-color: black;
}

@media (max-width: 360px) {
	.menu-content ul {
		font-size: 5.5vw;
	}
}

@media (max-width: 525px) {
	.logo .main-logo {
		padding-top: 36px;
	}
}
@media (max-width: 700px) {
	.menu-content ul {
		columns: 1;
		-webkit-columns: 1;
		-moz-columns: 1;
	}
	.menu-content ul li {
		width: 100%!important;
	}
	.menu-content p {
		width: 100%;
		font-size: 1.1em;
	}
}
@media (max-width: 1023px) {
	.header {
		height: 35%;
	}
	.logo .main-logo {
		width: 65vw;
		height: 100%;
		transform: translate(-50%, 0);
		
	}
	.social {
		position: absolute;
		right: 20px;
		z-index: 1;
	}
	.carousel {
		height: 65%;
		padding-bottom: 7.5vh;
	}
	.footer { display: flex; flex-flow: column; }
    .aligncenter-text { order: 1; }
    .alignleft-text { order: 2;  }
    .alignright-text { order: 3; }
	.social-wrapper {
		vertical-align: top;
	}
	.logo-wrapper-menu {
		width: 80%;
		height: calc(20% - 40px);
		position: relative;
		margin-left: auto;
		margin-right: auto;
		margin-top: 20px;
		left: 0;
		top: 0;
	}
	.logo-img-menu {
		display: block;
		height: 90%;
		margin: auto;
	}
	.menu-content {
		margin-top: -20px;
	}
}
	
@media (min-width: 1024px) {
	body {
		background-image: url('https://monsterpizza.ee/wp-content/themes/monsterpizza/img/pizza_bg.svg');
		background-size: 50% auto;
		background-repeat: repeat-x;
		background-position: left center;
	}
	.logo {
		text-align: left;
		margin-left: 5%;
		margin-right: 5%;
	}
	.logo-wrapper {
		width: calc(50% - 40px);
		z-index: 0;
	}
	.logo .main-logo {
		transform: none;
		height: 100%;
	}
	.logo-img-desktop {
		display: inherit;
		height: 85%;
	}
	.logo-img-mobile {
		display: none;
	}
	.mobile-call {
		display: none;
	}
	.carousel-cell:before {
		font-size: 10em;
		text-shadow: 0vw 0vw 0px rgba(0, 0, 0, 0);
		transform: rotate(-4deg);
		bottom: -120px;
		-webkit-text-stroke-width: 3px;
	}
	.carousel-cell.is-selected:before {
		text-shadow: 10px 10px 0px rgba(0, 0, 0, 1);
		bottom: -90px;
	}
	.footer {
		text-align: left;
		padding: 2vw 6vw;
	}
	.desktop {
		display: inherit;
	}
	.alignleft-text {
		position: relative;
		float: left;
		width:33.33333%;
		text-align:left;
	}
	.aligncenter-text {
		position: relative;
		float: left;
		width:33.33333%;
		text-align:center;
		min-height: 1px;
	}
	.alignright-text {
		position: relative;
		float: left;
		width:33.33333%;
		text-align:right;
	}
	.menu-content ul {
		width: 80%;
		margin: auto;
	}
	.menu-label {
		margin-top: 40px;
	}
	.menu-label p {
		font-size: 60px;
		text-shadow: 6px 6px 0px rgba(0, 0, 0, 1);
		-webkit-text-stroke-width: 2px;
	}
}

.product-sizes {
	margin-top: -30px;
	padding: 0 20px;
	max-width: 600px;
	width: 100%;
}