/*
	Theme Name: Yesyesyes WP
	Description: Yesyesyes WordPress Theme
	Author: N2 Creative
	Author URI: https://n2creative.fi/

*/

/*------------------------------------*\
    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 {
	font-size:62.5%;
}
body {
	font-family:'Mirador-Book', sans-serif;
	font-size: 16px;
	font-weight: normal;
	color:#000000;
	background-color: #FFF4F4;
}

main {
	flex-grow: 1;
}

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

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

/*------------------------------------*\
    ACCESSABILITY
\*------------------------------------*/

.skip-link {
    position: absolute;
    top: -50px; /* Initially hidden above the viewport */
    left: 0;
   	background-color: #f0f0f0;
    color: #333;
    padding: 8px;
    z-index: 100; /* Ensure it's on top */
    transition: top 0.3s ease-in-out;
}

.skip-link:focus {
   	top: 0; /* Show when focused */
}

a.wp-block-button__link:focus-visible {
	outline-offset: -4px;
}

.arrow-button a:focus-visible,
a:focus-visible,
input.wpcf7-submit:focus-visible,
.survey-form-submit-button:focus-visible,
.tm-checkbox-icon-wrapper:focus-visible,
.menu-button:focus-visible {
 	outline: 2px solid #005FCC;
 	outline-offset: 3px;
}

.logo a:focus-visible .logo-img {
	outline: 2px solid #005FCC;
	outline-offset: 3px;
}

input:focus-visible,
texatrea:focus-visible {
	outline: 1px solid #005FCC;
}

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

/* wrapper */
.wrapper {
	min-height: 100vh;
	width:100%;
	margin:0 auto;
	position:relative;
	display: flex;
	flex-direction: column;
    overflow: hidden;
}

.text-wrapper {
	width: 95%;
	margin: auto;
}

.more-space-wrapper {
	padding: 80px 5% 100px;
}

/* header */
.header {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.0));
}

.home .header {
	position: absolute;
}

/* logo */
.logo {
	max-width: 130px;
    width: 45%;
    margin: 23px auto;
}

.logo-img {
	position: relative;
    z-index: 6;
    display: block;
    margin: auto;
}

.logo-text {
	font-size: 10px!important;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-family:'GalanoClassic-Medium';
    text-transform: uppercase;
    color: #DA1B6C;
}

.logo.fixed {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translate(-50%);
    z-index: 5;
}

/* nav */
.nav {
	display: none;
    position: fixed;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFF4F4;
}

.nav ul {
	list-style: none;
	text-align: center;
	padding: 0;
	width: 90%;
	margin-top: 160px;
}

.nav li {
	margin: 15px 0;
}

.nav a {
	text-decoration: none;
	text-transform: uppercase;
	font-size: 1.2em;
	font-family:'Mirador-Bold';
}

.menu-button {
	background-image: url("./img/menu.svg");
	z-index: 5;
    top: 4px;
    left: 21px;
	width: 90px;
	height: 22px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	margin: 20px 27px 20px;
	cursor: pointer;
	text-decoration: none;
}

.menu-button.hide {
	background-image: url("./img/exit.svg");
	display: block;
	position: relative;
	margin: -4px 2.5% 0;
	z-index: 6;
}

/* sidebar */
.sidebar {

}
/* footer */

.footer {
	background-color: #ffffff;
}

.footer .page-wrapper {
	margin: 60px auto 20px;
}

.footer-logo {
	max-width: 150px;
	width: 60%;
	margin: 20px auto 40px;
}

.footer .footer-tel a {
	font-size: 2.3em;
	font-family:'Mirador-Book';
	color: #DA1E6E;
	text-transform: lowercase;
}

.footer .some-holder {
	width: 75px;
    display: flex;
    flex-wrap: nowrap!important;
    margin: 40px auto 20px;
}

.footer .declarations {
    margin: auto;
    width: 100%;
}

.footer p,
.footer a {
	font-family:'GalanoClassic-Medium';
	text-transform: uppercase;
	font-size: 11px;
	font-weight: normal;
}

.subscribe {
	text-align: center;
}

.declarations p span {
	display: none;
}

.declarations p {
	text-align: center;
	margin: 5px 0 0;
}

/* buttons */

.wp-block-button__link {
	background-color: transparent;
    color: #000000;
    border-radius: 0;
    border: 1px solid #000000;
    padding: 1em 2em;
    margin: 13px 0;
    text-transform: uppercase;
    min-width: 155px;
    font-size: 0.91em;
    font-family:'GalanoClassic-Medium';
}

.wp-block-button__link:hover {
	color: #000000;
	background-color: #ffffff;
}

.white-bg .wp-block-button__link:hover {
	background-color: #FF91B6;
}

.wp-block-button__link:visited {
	color: #000000;
}

.book .wp-block-button__link {
	font-size: 0.954em;
	min-width: 200px;
	border: 1px solid #DA1B6C;
}

.pink-button .wp-block-button__link {
	border: 1px solid #DA1B6C;
}

.book {
	position: absolute;
    top: 35px;
    right: 52px;
    display: none;
}

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

.bg-column {
	background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 400px;
}

.home .hero .bg-column {
	min-height: 300px;
}

.wp-block-columns {
	max-width: 1100px;
	margin: 60px auto;
	width: 90%;
}

.wp-block-columns.title {
	margin: 30px auto 50px;
}

.fullwidth,
.fullwidth.wp-block-columns {
	width: 100%;
	padding: 0;
	max-width: none;
	margin: 0;
}

.half-half {
	gap: 0!important;
	margin: 0;
}

.half-half .wp-block-column {
	padding: 40px 5%;
}

.half-half .fullsize-cover {
	padding: 0;
}

.half-half .fullsize-cover,
.half-half .fullsize-cover .wp-block-cover img {
	height: 300px;
}

.no-top-margin {
	margin-top: 0!important;
}

.hero-image {
	width: 100%;
	min-height: 662px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.hide {
	display: none;
}

.wp-block-columns .wp-block-image figure,
.wp-block-columns .wp-block-image figure img {
	margin: 0;
	width: 100%;
}

.bottom-border {
	border-bottom: 1px solid #000000;
}

.reverse {
	flex-direction: row-reverse;
}

.wp-block-columns .narrow-wrapper {
	padding: 0 10%;
	margin: auto;
}

.bottom-margin {
	margin-bottom: 40px;
}

.white-bg {
	background-color: #ffffff;
}

.light-grey-bg {
	background-color: #F8F8F8;
}

.home .hero {
	padding-top: 250px;
	min-height: 100vh;
}

.header.fixed {
	position: fixed;
}

.gmap_canvas iframe {
	width: 100%;
}

.hide-in-mobile {
	display: none!important;
}

/* mailchimp form */


#mc_embed_signup input {
    border:none!important;
    -webkit-border-radius:0px!important;
    -moz-border-radius:0px!important;
    border-radius:0px!important;
    background:transparent!important;
    border:1px solid #000000!important;
}


#mc_embed_signup input::placeholder {
	color:#000000!important;
}

#mc_embed_signup .button {
	color:#000000!important;
	text-transform:uppercase!important;
	background:#FFF4F4!important;
	border:none!important;
	height: 44px!important;
	border:1px solid #000000!important;
	font-size: 15px!important;
	min-width: 155px!important;
	padding: 14px 28px!important;
	line-height:10px!important;
	height:50px!important;
}

#mc_embed_signup .button:hover {
	background-color:#ffffff!important;
}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
	background:transparent!important;
}

#mc_embed_signup form {
	max-width:100%!important;
	margin-bottom:0!important;
}

#mc_embed_signup {
	width:350px!important;
    margin:auto!important;
}

#mc_embed_signup .mc-field-group {
	width:100%!important;
}

#mc_embed_signup div#mce-responses {
	display:none!important;
}

#mc_embed_signup_scroll {
	display:flex!important;
	flex-direction:column!important;
	align-items:center!important;
}

#mc_embed_signup .mc-field-group input {
	padding:8px 10px!important;
	margin:20px 0!important;
	background-color:#ffffff!important;
	border:none!important;
}


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

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

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

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

h1 {
	font-family:'Mirador-Bold';
	font-size: 2.6em;
	line-height: 1.1;
    font-weight: normal;
    margin: 30px 0;
}

.home h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.63em;
	font-weight: normal;    
	margin: 45px 0;
	font-family:'Mirador-Bold';
}

h3 {
	font-size: 3.8em;
	font-weight: normal;    
	margin: 0 0 35px;
	font-family:'Mirador-Bold';
	line-height: 0.7em;
}

h4 {
	font-weight: normal;
	font-size: 0.91em;
	text-transform: uppercase;
	font-family:'Mirador-Bold';
	margin-top: 30px;
}

p {
	line-height: 1.4;
}

.smaller-font {
	font-size: 0.89em;
}

.underline a {
	text-decoration: underline!important;
}

.page-template-menu-page .wp-block-columns {
	margin-top: 0;
}

.page-template-menu-page .main-title {
	width: 90%;
	margin: 60px auto 0;
	max-width: 1100px;
}

.page-template-menu-page h2 {
	margin: 30px 0 15px;
	font-family:'Mirador-Bold';
	text-transform: uppercase;
	font-size: 1.22em;
}

.page-template-menu-page h3 {
	font-family:'Mirador-Bold';
	font-size: 1.22em;
	margin: 7px 0;
	line-height: 1.1;
}

.page-template-menu-page p {
	font-family:'GalanoClassic-Medium';
	text-transform: uppercase;
	font-size: 0.88em;
	margin: 7px 0 25px;
}


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

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

	.nav a {
		font-size: 1.81em;
	}

	.footer-logo {
		width: 50%;
	}

	.home .hero {
		padding-top: 280px;
	}

	.menu-button {
		margin: 38px 27px 20px;
	}

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

	h1 {
		font-size: 3.6em;
	}




}

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

	.home .hero .bg-column {
		min-height: 400px;
	}

	.half-half .fullsize-cover,
	.half-half .fullsize-cover .wp-block-cover img {
		height: 400px;
	}

}

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


	.home h1 {
		font-size: 2.4em;
	}

	h2 {
		font-size: 2em;
	}

	body {
		font-size: 18px;
	}

	.menu-button,
	.menu-button.hide {
	    top: 25px;
	    left: 31px;
	    position: absolute;
	    margin: 0;
	}

	.book {
    	top: 35px;
    	right: 52px;
    	display: block;
	}

	.book {
	    top: 9px;
	    right: 25px;
	    display: block;
	}

	.book .wp-block-button__link {
	    font-size: 0.754em;
	    min-width: 184px;
	    padding: 0.8em 0.2em;
	}

	.hide-in-desktop {
		display: none!important;
	}

	.hide-in-mobile {
		display: block!important;
	}

	.footer .some-holder {
		margin: 40px auto 40px;
	}

	.bg-column {
		min-height: 662px;
	}

	.logo {
		width: 60%;
		max-width: 140px;
	}

	.nav ul {
		margin-top: 0;
	}

	.more-space-wrapper {
    	padding: 80px 10% 100px;
	}

	.home .hero .bg-column {
		min-height: 662px;
	}

	.half-half .fullsize-cover,
	.half-half .fullsize-cover .wp-block-cover img {
		min-height: 662px;
	}

	#mc_embed_signup .button {
		font-size:17px!important;
		height:56px;
	}

}

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

	.wp-block-columns {
		margin: 80px auto;
	}

	.wp-block-columns.title {
		margin: 20px auto 20px;
	}

	.declarations p {
		text-align: left;
	}

	.declarations p.has-text-align-right {
		text-align: right;
	}

	.declarations p span {
		display: inline;
		margin: 0 8px;
	}

	.wp-block-columns .wp-block-image figure,
	.wp-block-columns .wp-block-image figure img {
		width: auto;
	}

	.footer .declarations {
    	margin-left: -25px;
    	font-size: 0.8em;
	}

	.more-space-wrapper {
    	padding: 120px 15% 140px;
	}

	.home .hero {
		padding-top: 0px;
	}

	.hero-lips {
		display: block;
	}

	.half-half .fullsize-cover,
	.half-half .fullsize-cover .wp-block-cover,
	.half-half .fullsize-cover .wp-block-cover img {
		height: 100vh;
	}

	.hero.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		max-width:50%;
	}

}

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


	h2 {
		font-size: 3.5em;
	}

	.book {
	    top: 35px;
	    right: 52px;
	}

	.book .wp-block-button__link {
	    font-size: 0.954em;
	    min-width: 200px;
	}

	.menu-button,
	.menu-button.hide {
	    top: 53px;
	    left: 48px;
	}

	.logo-text {
		margin-bottom: 50px;
		font-size: 11px!important;
	}

	.more-space-wrapper {
    	padding: 120px 25% 140px;
	}

	.gmap_canvas,
	.mapouter,
	.gmap_canvas iframe {
		height: 500px!important;
	}

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


	.wp-block-columns .narrow-wrapper {
		max-width: 1067px;
		padding: 0;
	}



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


	.gmap_canvas,
	.mapouter,
	.gmap_canvas iframe {
		height: 600px!important;
	}


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

	.hero-image {
		min-height: 754px;
	}

}

@media (min-aspect-ratio: 8/5)  {

	.logo-img,
	.logo-text {
	    z-index: 0;
	}

}

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