/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
    height:100%;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template 
   ========================================================================== */
   
   
/*** SIJOITTELU mobile ****/

body {
	color: #fff;
	background-color:#000;
	font-size: 18px ;
	line-height: 22px;
	font-family: 'Helvetica Neue', Arial, sans-serif ;
	letter-spacing:0.1em;
	font-weight:500;
	text-align:center;
	text-transform:uppercase;
    height:100%;
}
div.slogan {
	padding: 1.5em 0;
}
.wrapper {
	width:96%;
	max-width:1000px;
	background-color:#000000;
	color:#fff;
	margin: 0 auto;
	padding: 0px 0;
}

div.wrapper > ul {
	display:block;
	width:100%;
	padding:0;
	margin:0;
}
div.wrapper > ul > li {
	display:block;
	width:100%;
	vertical-align:center;
	padding:0;
	margin:0;
	list-style:none;
}
	
a.ankkuri {
	height:0px;
	display:block;
	width:100%;
}
div.slogan > ul > li:last-child {
	min-height:6em;
}
#aukioloajat ul {
	display:block;
	width:100%;
	padding:0;
	margin:0;
}
#aukioloajat li {
	display:inline-block;
	padding:0;
	margin:0.3em 1em;
	list-style:none;
}
li#keltanen {
	background-color:rgb(221, 200, 200);
	color:#000;
}
li#violetti {
	background-color:#FF4D9B;
	color:#000;
}
li#violetti.tapiolan {
	background-color:#FF4D9B;
	background-image:url(../img/tapiola-pattern.png);
}
li#violetti.sompasaaren {
	background-color:#f09330;
	background-image:url(../img/sompasaari-pattern.png);
}
li#violetti.tikkurilan {
	background-color:#dc4a88;
}

div.header-container a.punainen {
	color:#FF4D9B;
}
div.header-container a.fblink {
	color:#189478;
}
div.header-container a.oranssi {
	color:#f09330;
}
div.violettirow1, div.violettirow2, div#violettitbody {
	width:100%;
	min-width:100%;
	text-transform:none;
}
img.cellarnosto {
		width: 96%;
		max-width:96%;
		height:auto;
		padding: 2% 2%;
}
#specials, #wines, #food {
	display:none;
}
#menunavi {
	font-size:0.9em;
	padding: 1.2em 0;
}
div.palstanotsikko {
	background-color:#000;
}
.palstanotsikko img {
	padding:0 0;
}
#krohom, #visio {
	width:20%;
	padding: 2.4em 15% 0 15%;
	float:left;
}
footer {
	width:100%;
	padding: 2em 0;
	clear:both;
}
div.tagit {
	display:none;
}

/*** SIJOITTELU isommat ****/
@media only screen and (min-width: 741px) {
	div.wrapper {
		width:90%;
	}
	div.wrapper > ul {
		display:table;
		width:100%;
		height:100%;
	}
	div.wrapper > ul > li {
		display:table-cell;
		width:50%;
	}
	div.wrapper > ul > li:first-child {
		padding-right:5%
	}
	div.wrapper > ul > li:last-child {
		padding-left:5%
	}
	li#keltanen {
		width:41%;
		padding:0;
		vertical-align:top;
	}
	li#marginaali {
		width:8%;
		padding:0;
	}
	li#violetti {
		width:41%;
		padding:0;
		height:100%;
		vertical-align:top;
	}
	div#violettitable {
		display:table;
		width:100%;
		height:100%;
	}
	div#violettitbody {
		display: table-row-group;
		height:100%;
	}
	footer {
		width:54%;
		padding: 2em 0;
		clear:none;
		float:left;
	}
	div.violettirow1 {
		display:table-row;
		height:0%;
	}
	div#violettitable div.palstanotsikko {
		display: table-cell;
	}
	div.violettirow2 {
		display:table-row;
	}
 	div#tokacontentpalsta {
 		display: table-cell;
    	height:100%;
    	vertical-align: middle;
 	}
	img.cellarnosto {
		width: 96%;
		max-width:96%;
		height:auto;
		padding: 2% 2%;
	}
	#krohom, #visio {
		width:15%;
		padding:4%;
		min-height:4em;
		float:left;
		clear:none;
	}
	#visio {
		float:right;
		clear:none;
	}

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

}

/*** TYPOGRAFIA mobile ****/

h1 {
	font-size:inherit;
	line-height:inherit;
	font-weight:200;
	letter-spacing:0.1em;
}

h2 {
	font-size:2em;
	line-height:1em !important;
	font-weight:700;
	letter-spacing:0.1em;
	padding: 0.7em 0 0 0;
	margin:0;
	text-transform:uppercase;
	clear: both;
}
h2 {
	font-size:2em;
	line-height:1em !important;
	font-weight:700;
	letter-spacing:0.1em;
	padding: 0.7em 0 0 0;
	margin:0;
	text-transform:uppercase;
}
h2 {
	font-size:1em;
	line-height:1em !important;
	font-weight:700;
	letter-spacing:0.0em;
	padding: 2.1em 0 0.3em 0;
	margin:0;
	text-transform:uppercase;
	/*font-style:italic;*/
	
}
h3 {
	font-family: "franklin-gothic-urw-cond";
	font-size:1.6em;
	line-height:1.1em;
	font-weight:500;
	letter-spacing:0.1em;
	padding:0.7em 0 0 0;
	margin:0;
	text-transform:uppercase;
}
h5 {
	font-size:0.5em;
	line-height:1.1em;
	text-transform:none;
	font-weight:700;
	letter-spacing:0.1em;
	padding:0.5em 2em 0 2em;
	margin:0;
}

p {
	font-size:0.9em;
	margin:0;
	padding:0.5em 0 0 0;
}
#content p, #specials p, #food p, #wines p {
	font-size:0.7em;
	line-height:1.1em;
	text-transform:none;
	font-weight:700;
	letter-spacing:0.1em;
	padding:0.5em 1em;
}
#violetti p {
	font-weight:700;
}
#keltanen h3 + p {
	padding:0 1em !important;
}
#specials p:last-child {
	padding-left:3em;
	padding-right:3em;
}
#wines em {
	text-transform:uppercase;
	font-style:normal;
}
.footer p {
	font-family: "franklin-gothic-urw-cond";
	font-size:1.0em;
	line-height:1.05em;
	padding:0.4em 0;
}
p + h3{
	padding-top:0.1em;
}

a {
	color:rgb(255,255,255);
	text-decoration:none;
	border:0;
	outline:0;
}
a:focus {
	border:0;
	outline:0;
}

a:hover {
	text-decoration:underline;
}

div.footer a:hover img {
	transform: rotate(-20deg);
}
div#krohom a:hover img {
	transform: rotate(20deg);
}
#violetti a:hover img {
	opacity:0.8;
}
#menunavi a {
	color:#000;
	font-family: georgia;
	font-weight:700;
}
a.email {
	text-transform:none;
	letter-spacing:0.2em;
}
a.fblink {
	color:#3DB3FC;
}
a.active {
	text-decoration:underline;
}
.punainen {
	color:#FB4B47;
}
.vihree {
	color:#41be24;
}
.tikkuvari {
	color: #fff8a6;
}
div.tietosuojalauseke {
  -ms-transform: scaleY(1.2); /* IE 9 */
  -webkit-transform: scaleY(1.2); /* Safari 3-8 */
  transform: scaleY(1.2);
  /*-ms-transform: skewY(5deg);
  -webkit-transform: skewY(5deg); 
  transform: skewY(5deg);*/
}
div.tietosuojalauseke a {
	text-transform:lowercase;
	font-size:0.6em;
	letter-spacing: 0.2em;
	transition: 0.4s; 
  position:relative;
  top:-0.2em;
}
div.tietosuojalauseke a:hover {
	letter-spacing:0.4em;
}
body.page-id-905 a:not(.newmenufloat) {
	display:block;
	clear:both;
	width:100%;
}
body.page-id-905 a:hover img:not(.newmenufloat)  {
  -webkit-filter: saturate(0.7) brightness(1.8);
  filter: saturate(0.7) brightness(1.8);

}
/*** TYPOGRAFIA fonttikoon muutokset ****/

@media only screen and (min-width: 741px) {
	body {
		font-size: 14px ;
		line-height: 18px;
	}

}
@media only screen and (min-width: 841px) {
	body {
		font-size: 16px ;
		line-height: 20px;
	}

}
@media only screen and (min-width: 941px) {
	body {
		font-size: 18px ;
		line-height: 22px;
	}

}


/***** playerit ***********/

div.playeri {
	height:350px;
	overflow:hidden;
	background-size:cover;
	background-position: center center;
	width:100%;
	transition:1.0s;
	margin-bottom:20px;
}
div.playnappi {
	height:350px;
	overflow:hidden;
	width:100%;
	transition:1.0s;
}
div.playnappi.piilossa {
	height:0px;
}
div.playnappi a img {
	margin-top:137px;
}
div.playnappi a:hover img {
	opacity:0.7;
}





/***** PALSTOITUS SHORTCODEILLA***********/

ul.palstoitus, ul.palstoitus > li {
	list-style:none;
	margin:0;
	padding:0;
}
ul.palstoitus li{
	padding-bottom:0.5em;
}
@media only screen and (min-width: 641px) {
	ul.palstoitus {
		display:table;
		width:100%;
	}
	ul.palstoitus > li{
		width:49%;
		display:table-cell;
		padding-right:1%;
		padding-bottom:0;
	}
	ul.palstoitus > li:last-child {
		width:50%;
		padding-left:0%;
	}
}



/***** sivutus ********************************************/

nav.paging-navigation {
	background-color:rgba(100,100,100,0.1);
	margin-top:4em;
	padding:1em;
}
h5.screen-reader-text {
	margin:0;
	display:inline-block;
}
div.pagination {
	display:inline-block;
}

/*******************/





/****** kuvien sijoittelut tekstin juoksutuksen kanssa **************/

img.alignright, div.alignright {
		float:right;
		margin-left:1em;
		margin-bottom:0.5em;
		max-width:50%;
}
img.alignleft, div.alignleft {
		float:left;
		margin-right:1em;
		margin-bottom:0.5em;
		max-width:50%;
}
img.aligncenter, div.aligncenter  {
		display: block;
		margin: 0 auto;
}


/****** MUUTA **************/

body.page-id-905 img {width: 500px; max-width: 100%; height: auto;}

a.herkkupallo {
    position: absolute;
    width: 180px !important;
    height: 180px !important;
    left: calc(50vw + 140px);
    top: calc(50vh - 240px);
    rotate: 11deg;
    display: block !important;
}
@media only screen and (max-width: 710px) {
	a.herkkupallo {
		position: absolute;
		width:30vw !important;
		height:30vw !important;
		left:calc(68vw);
		top:calc(35vh - 100px);
	}
}


img {
	max-width:100%;
	height:auto;
}

a.blinkkaus {
	text-decoration:underline;
}
a.blinkkaus img:not(.newmenufloat) {
	opacity:0.5;
}

#cookie-notice {
	color:#fff;
	font-family:inherit;
	background:#000000;
	padding:50px 00px;
	position:fixed;
	top:50%;left:50%;
	width:100%;
	max-width:500px;
	width:500px;
	/*box-shadow:0 10px 20px rgba(0,0,0,.2); */
	border-radius:0px;
	border: 1px solid #ffffff;
	margin:-200px 0 0 -250px;
	visibility:hidden;
	z-index:1000000;
	box-sizing:border-box;
}
div.cookienapit {
	clear:both;
	padding-top:20px;
} 
#cookie-notice button {
	color:#000000;
	font-family: georgia;
	font-weight:bold;
	background:#ffffff;
	border:0;
	margin:0px 0px 0px 0px;
	width:12em;
	height:5em;
	padding:0;
}
#cookie-notice button.eka {
	background-color:#FF4D9B;
	padding:1em;
}
#cookie-notice button.toka {
	background-color:#FFEF54;
}
#cookie-notice.ekavalittu button.eka{
  background-color: #FFEF54; 
}
#cookie-notice.ekavalittu button.toka{
  background-color: #FF4D9B; 
}
#cookie-notice.ekavalittu img.flippaava {
	transform: rotateY(180deg);
}
#cookie-notice.tokavalittu img.flippaava {
	transform: rotateY(0deg);
}


div#newmenufloat {
	position:fixed;
	right:0;
	bottom:0;
	width:20vw;
	height:20vw;
	max-width: 200px;
	max-height: 200px;
	min-width: 120px;
	min-height: 120px;
  aspect-ratio: 1;
  clip-path: polygon(0 100%,100% 0,100% 100%);
}
div#newmenufloat a:hover img { 	transform: rotate(0deg);}

@media only screen and (max-width:800px) {
	#cookie-notice {
		padding:20px 20px;
		max-width:400px;
		width:400px;
		margin:-130px 0 0 -200px;
		font-size: 0.9em;
	}
	#cookie-notice button {
		font-size:0.8em;
		width:12em;
	}
	#cookie-notice button.eka {
		float:left;
	}
	#cookie-notice button.toka {
		float:right;
	}
	#cookie-notice button {
		width:170px;
		height:60px;
	}
}

div#content.site-content.ruokalista h3 em {
	font-style: normal ;
}
div#content.site-content.ruokalista h3 em::after {
	content: "";
	display: inline-block;
	position: absolute;
	width: 1.2em;
	height: 1.2em;
	background-image: url(https://puttes.live-s.seravo.com/wp-content/themes/twentyfourteen-2-child/img/new.png);
	background-size: contain;
	margin-top: -0.35em;
	margin-left: -0.1em;
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}


/* GALLERIAT */

.wp-caption,
.gallery-caption {
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.fancybox-caption__body {
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

div.etusivungalleriat div.galleria {
	display:none;
} 
div.etusivungalleriat div.gallerianosto {
	display:inline-block;
	width: 200px;
	height: 290px;
	margin:5px;
}
div.etusivungalleriat a:hover {
	opacity:0.6;
}


/* P2B Pizza2Business */

body.page-id-2027 span {text-transform: none;}
body.page-id-2027 #content p {padding: 1em 0;font-size: 0.9em;font-weight: 400;line-height: 1.3em;}
body.page-id-2027 #content p.lomakekuva {text-align: center;}
body.page-id-2027 #content img#lomakekuva {width:35em;}
div.forminator-field {text-align: left;}
div.forminator-field a {text-decoration: underline !important;}
div.forminator-field h1 {font-size:3em;line-height: 1em !important;font-weight: 600;text-align: center;}
div.forminator-field h2.forminator-title {font-weight: 600!important; text-align: center !important; padding-top:2em !important;font-size: 2.1em !important;}
div.forminator-field p {font-size:0.8em;}
div.forminator-field-number > div.forminator-field {display: flex; flex-direction: column; padding-bottom:15px !important;}
div.forminator-field-number > div.forminator-field > label {order: 1; font-size: 1.0em !important;}
div.forminator-field-number > div.forminator-field > span.forminator-description {order: 2; min-height: 3.7em;}
div.forminator-field-number > div.forminator-field > input {order: 3; width:5em !important;}
div.forminator-consent__label p {padding-top: 0 !important;}
.forminator-button-submit { border: 5px solid #FF4D9B !important; font-weight: bold !important; text-transform: uppercase !important;}

h2.forminator-title { color:#FF4D9B; }
div#section-2 h2.forminator-title { color:#189478; }
div#section-1 h2.forminator-title { color:#f09330; }
div#section-4 h2.forminator-title { color:#fff8a6; }