/*
Theme Name: Juhula Catering 2023
Version: 1.0
Description: Theme for Juhula Catering
Author: NTRNZ
Author URI: https://ntrnz.com
Template: storefront
*/ 

body {
  font-family: 'Karla', sans-serif;
}

#primary {
	width: 100%;
  margin-bottom: 0;
}

#main, #main > article {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .site-header-cart .widget_shopping_cart {
      background-color: #666;
  }
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

.site-title {
  font-family: 'Playfair Display', serif;
}

h1, .site-branding .site-title {
  letter-spacing: 6px;
  text-transform: uppercase;
}

a, a:visited {
  text-decoration: none;
  color: #333;  
}

a.added_to_cart {
  color: #fff;
}

.col2-set .col-1,
.col2-set .col-2 {
  width: 100%;
}

.button,
.button:visited {
  background-color: #BE2855;
  padding: 10px 20px;
  color: #fff;
  display: inline-block;
  font-weight: normal;
}

.button:hover {
  background-color: #BE2855;
  color: #fff;
}

textarea#order_comments {
	min-height: 130px !important;
}

.menu-window .ravintola-logot {
  padding: 40px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
@media (min-width: 768px) {
  .menu-window .ravintola-logot {
    padding: 40px 80px;
    border-left: 1px solid #fff;
  }
}
.menu-window .ravintola-logot a, .menu-window .ravintola-logot span {
  flex: 1 23%;
}
.menu-window .ravintola-logot img {
  display: block;
  margin: 0 auto;
}

.color {
  padding: 60px 0;
}
.color-white {
  background-color: white;
}
.color-green {
  background-color: #B0CEC9;
}
.color-green h2, .color-green .h2 {
  color: #244141;
}
.color-green_dark {
  background-color: #244141;
  color: #fff;
}
.color-light-gray, .color-gray {
  background-color: #F5F6F7;
}
.color-black {
  background-color: #000;
  color: #fff;
}

.page-header {
  background-repeat: no-repeat;
  background-size: cover;
}
.page-header.theme-dark {
  color: #fff;
}
.page-header .date {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}
.page-header .single-title {
  color: #669B92;
  font-size: 48px;
}
.page-header .row {
  min-height: 400px;
  padding-top: 75px;
}

.column-three {
  font-size: 14px;
}

.with-background {
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  line-height: 40px;
  font-size: 20px;
}
.with-background .row {
  min-height: 600px;
}

.galleria {
  display: grid;
  grid-template-columns: 6fr 3fr 3fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "big-picture small-picture-1 small-picture-2" "big-picture small-picture-3 small-picture-4";
  grid-gap: 20px;
}
.galleria.oikea {
  grid-template-columns: 4fr 8fr;
  grid-template-areas: "small-picture-1 big-picture" "small-picture-2 big-picture" "small-picture-3 big-picture";
}
.galleria div img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.galleria div:first-child {
  grid-area: big-picture;
}
.galleria .small-picture-1 {
  grid-area: small-picture-1;
}
.galleria .small-picture-2 {
  grid-area: small-picture-2;
}
.galleria .small-picture-3 {
  grid-area: small-picture-3;
}
.galleria .small-picture-4 {
  grid-area: small-picture-4;
}

.full-width-2-columns {
  display: flex;
  align-items: stretch;
}
@media (max-width: 767.98px) {
  .full-width-2-columns {
    flex-direction: column;
  }
}
.full-width-2-columns .column-1 {
  grid-area: column-1;
  padding: 60px;
  flex: 1 50%;
  display: flex;
  align-items: center;
}
.full-width-2-columns .column-1 div {
  width: 100%;
}
.full-width-2-columns .column-2 {
  grid-area: column-2;
  align-self: center;
  padding: 60px;
  flex: 1 50%;
  display: flex;
  align-items: center;
}
.full-width-2-columns .column-2 div {
  width: 100%;
}
.full-width-2-columns .column-2 div > p {
  max-width: 600px;
}
.full-width-2-columns .column-2 p:last-child {
  margin-bottom: 0;
}

.henkilostokortit {
  padding-top: 80px;
  padding-bottom: 80px;
}
.henkilostokortit .henkilosto-kortti {
  padding-bottom: 40px;
}
.henkilostokortit .henkilosto-kortti h4, .henkilostokortit .henkilosto-kortti .h4 {
  color: #669B92;
}
.henkilostokortit .henkilosto-kuva {
  margin-bottom: 20px;
}
.henkilostokortit h2, .henkilostokortit .h2 {
  color: #669B92;
  text-align: center;
  margin-bottom: 40px;
}
.henkilostokortit h4, .henkilostokortit .h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.artikkelinostot hr {
  border: 0;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 30px 0;
}
.artikkelinostot .iso article {
  height: 100%;
  display: flex;
  flex-direction: column;
}
@media (max-width: 991.98px) {
  .artikkelinostot .iso article {
    flex-direction: row;
    min-height: 300px;
  }
}
@media (max-width: 767.98px) {
  .artikkelinostot .iso article {
    flex-direction: column;
    min-height: none;
  }
}
.artikkelinostot .iso article .article-img {
  background-position: center;
  background-size: cover;
  display: flex;
}
@media (min-width: 992px) {
  .artikkelinostot .iso article .article-img {
    flex-grow: 1;
  }
}
@media (max-width: 991.98px) {
  .artikkelinostot .iso article .article-img {
    width: 60%;
  }
}
@media (max-width: 767.98px) {
  .artikkelinostot .iso article .article-img {
    height: 300px;
    width: 100%;
  }
}
.artikkelinostot .iso article header {
  background-color: #fff;
  padding: 20px 30px;
}
@media (max-width: 991.98px) {
  .artikkelinostot .iso article header {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
@media (max-width: 767.98px) {
  .artikkelinostot .iso article header {
    width: 100%;
  }
}
.artikkelinostot .lista {
  padding-top: 20px;
  padding-bottom: 20px;
}
.artikkelinostot .lista article:last-child hr {
  display: none;
}
.artikkelinostot article {
  width: 100%;
}
.artikkelinostot article h3, .artikkelinostot article .h3 {
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  text-transform: none;
  margin: 10px 0;
  color: #1E2832;
}
.artikkelinostot article .read-more, .artikkelinostot article .date {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  color: #669B92;
  letter-spacing: 0.05em;
}
body div.wpforms-container-full .wpforms-form .wpforms-field-label {
  font-weight: 100;
  color: #669B92;
}
body div.wpforms-container-full .wpforms-form input[type=text],
body div.wpforms-container-full .wpforms-form input[type=email],
body div.wpforms-container-full .wpforms-form textarea {
  border-color: #669B92;
  border-radius: 0;
  max-width: 100%;
  width: 100%;
  padding: 10px;
  height: auto;
}
body div.wpforms-container-full .wpforms-form input[type=text]::-moz-placeholder, body div.wpforms-container-full .wpforms-form input[type=email]::-moz-placeholder, body div.wpforms-container-full .wpforms-form textarea::-moz-placeholder {
  color: #669B92;
  font-weight: 100;
}
body div.wpforms-container-full .wpforms-form input[type=text]:-ms-input-placeholder, body div.wpforms-container-full .wpforms-form input[type=email]:-ms-input-placeholder, body div.wpforms-container-full .wpforms-form textarea:-ms-input-placeholder {
  color: #669B92;
  font-weight: 100;
}
body div.wpforms-container-full .wpforms-form input[type=text]::placeholder,
body div.wpforms-container-full .wpforms-form input[type=email]::placeholder,
body div.wpforms-container-full .wpforms-form textarea::placeholder {
  color: #669B92;
  font-weight: 100;
}
body div.wpforms-container-full .wpforms-form input[type=checkbox] {
  border-color: #669B92;
}
body div.wpforms-container-full .wpforms-form button[type=submit] {
  background-color: #F26E66;
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-family: "Be Vietnam", sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
body .site-footer div.wpforms-container-full .wpforms-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
body .site-footer div.wpforms-container-full .wpforms-form .wpforms-head-container .wpforms-title {
  font-size: 20px;
  font-weight: 600;
  color: #244141;
  margin: 0;
}
body .site-footer div.wpforms-container-full .wpforms-form .wpforms-field-container {
  padding: 0;
  width: 300px;
}
body .site-footer div.wpforms-container-full .wpforms-form .wpforms-field-container .wpforms-field {
  padding: 0;
}
body .site-footer div.wpforms-container-full .wpforms-form .wpforms-field-container input[type=email] {
  width: 100%;
}
body .site-footer div.wpforms-container-full .wpforms-form .wpforms-submit-container {
  padding: 0;
}
body .site-footer div.wpforms-container-full .wpforms-form button[type=submit] {
  background-color: #669B92;
  border-color: #669B92;
}

.logolista {
  text-align: center;
}
.logolista img {
  margin: 40px 40px;
}

button.menu-toggle, button.menu-toggle:hover {
  background-color: transparent !important;
}

.main-navigation ul li a,
.main-navigation ul li a:visited,
.main-navigation ul li a:hover {
  color: #333 !important;
}

#site-header-cart .cart-contents {
  color: #333 !important;
}

#site-header-cart .woocommerce-mini-cart__total {
  color: #333 !important;
}

#masthead {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

#masthead .site-branding {
  margin-bottom: 1rem !important;
}

.col-full {
  max-width: 100% !important;
  padding: 0 !important;
  margin-top: 0 !important;
}

@media (max-width: 66.4989378333em) {
  #content .col-full {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
}

body.woocommerce .col-full {
  max-width: 1320px !important;
  margin-top: 1rem;
}

#colophon .col-full {
  max-width: 1320px !important;
}

body.home .page-header {
  min-height: 880px;
  background-position: center;
  background-size: cover;
}

body.home .page-header .row {
  padding-top: 0 !important;
}

body.home .page-header .row > div {
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 4rem;
  margin-left: 2rem;
}

body.home .page-header a,
body.home .page-header a:visited {
  background-color: #BE2855;
  padding: 10px 20px;
  color: #fff;
  display: inline-block;
  margin-top: 1rem !important;
}

body.page:not(.home) .page-header {
  min-height: 440px;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (max-width: 992px) {
  body.page:not(.home) .page-header {
    min-height: 220px;
  }
}

body.page:not(.home) .page-header h1 {
  position: relative;
  color: #fff;
  z-index: 1;
}

@media (max-width: 992px) {
  body.home .page-header {
    min-height: 440px;
  }
  body.home .page-header .row > div {
    margin-left: 0;
    padding: 2rem;
  }
}

.rivi.one-column {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.container-fluid .rivi.one-column {
  max-width: 1024px;
}

.rivi.nostolaatikot .nosto {
  width: 100%;
  height: 0;
  padding-top: 100%;
  background-position: center;
  background-size: cover;
  display: flex;
  position: relative;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.musta-tausta {
  background-color: rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.rivi.nostolaatikot .nosto .tekstit {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.rivi.nostolaatikot .nosto .tekstit h3 {
  color: #fff;
  margin-bottom: 4rem;
}

.rivi.nostolaatikot .nosto .tekstit .button {
  background-color: #fff;
  color: #171717;
}

.viimeisimmat-artikkelit {
  background-color: #F0F0F0;
}

.viimeisimmat-artikkelit .container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.viimeisimmat-artikkelit .uutinen {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #707070;
}

.viimeisimmat-artikkelit .uutinen:last-child {
  border-bottom: 0;
}

.viimeisimmat-artikkelit .uutinen .linkki {
  margin-top: 1rem;
}

.viimeisimmat-artikkelit .uutinen .linkki a {
  color: #BE2855;
}

.viimeisimmat-artikkelit .uutinen .linkki a:hover {
  text-decoration: underline;
}

.viimeisimmat-artikkelit .uutinen.ensimmainen img {
  margin-bottom: 0;
  border-radius: 0;
}

.viimeisimmat-artikkelit .uutinen.ensimmainen {
  background-color: #fff;
  padding-top: 0;
  padding-bottom: 0;
}

.viimeisimmat-artikkelit .uutinen.ensimmainen .tekstit {
  padding: 1rem;
}

.site-footer {
  background-color: #171717;
  color: #fff;
  padding: 4rem 1rem;
}
.site-footer img {
  display: inline-block;
  margin-bottom: 2rem;
}

.site-footer a,
.site-footer a:visited {
  color: #fff !important;
}

.site-footer a:hover {
  text-decoration: none;
}

body.single article .cat-links,
body.single article .posted-on,
body.single article .post-author {
  display: none !important;
}

body.blog article.post a {
  color: #BE2855;
}

body.blog article.post img {
  max-height: 290px;
  object-fit: cover;
}


.two-columns-with-image {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  background-color: #F0F0F0;
}

.two-columns-with-image>* {
  padding-left: 0;
  padding-right: 0;
}

.two-columns-with-image .teksti {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  text-align: center;
}

@media (max-width: 992px) {
  .two-columns-with-image .teksti {
    padding: 0.75rem;
  }
}
.two-columns-with-image .kuva img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.woocommerce .content-area {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.wp-block-cover .wp-block-cover__inner-container, .wp-block-cover-image .wp-block-cover__inner-container {
  text-align: center;
}

a#contact-sticker {
  padding: 10px 15px 30px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: #BE2855;
  color: #fff;
  transform: rotate(-90deg);
  position: fixed;
  right: -68px;
  top: calc((50%) - (65px / 2));
  z-index: 9999;
  text-transform: uppercase;
}

a#contact-sticker:visited {
  color: #fff;
}

#contact-sticker img {
  margin-right: 10px;
}

.site-header .widget_shopping_cart p.total, .site-header .widget_shopping_cart p.buttons, .site-header .widget_shopping_cart li {
  background-color: #fff !important;
}

.wpcf7 .form-container h2 {
  margin: 3rem auto;
}

.wpcf7 .form-container .form-block {
  background-color: #fff;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  position: relative;
  min-height: 92px;
}

.wpcf7 .form-container .form-block h3 {
  margin-bottom: 2rem;
}

.wpcf7 .form-container .form-block h3.center {
  text-align: center;
}

.wpcf7 .form-container .form-block:after {
  content: "";
  background-image: url('images/form-triangle.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: block;
  width: 92px;
  height: 92px;
  position: absolute;
  right: 0;
  bottom: 0;
  border: 
}

.wpcf7 .form-container .form-block.has-icon {
  padding-top: 100px;
  margin-top: 75px;
  position: relative;
}

.wpcf7 .form-container .form-block.has-icon:before {
  content: "";
  width: 150px;
  height: 150px;
  position: absolute;
  top: -75px;
  left: 50%;
  transform: translate(-50%, 0);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.wpcf7 .form-container .form-block.icon-leivat:before {
  background-image: url('images/icons/icon-leivat.svg');
}

.wpcf7 .form-container .form-block.icon-levitteet:before {
  background-image: url('images/icons/icon-levitteet.svg');
}

.wpcf7 .form-container .form-block.icon-salaatit:before {
  background-image: url('images/icons/icon-salaatit.svg');
}

.wpcf7 .form-container .form-block.icon-alkupalat:before {
  background-image: url('images/icons/icon-alkupalat.svg');
}

.wpcf7 .form-container .form-block.icon-paaruoat:before {
  background-image: url('images/icons/icon-paaruoat.svg');
}

.wpcf7 .form-container .form-block.icon-lisukkeet:before {
  background-image: url('images/icons/icon-lisukkeet.svg');
}

.wpcf7 .form-container .form-block.icon-jalkiruoat:before {
  background-image: url('images/icons/icon-jalkiruoat.svg');
}

.wpcf7 .form-container .form-block.icon-kastikkeet:before {
  background-image: url('images/icons/icon-kastikkeet.svg');
}

.wpcf7 .form-container .form-block .wpcf7-checkbox .wpcf7-list-item {
  margin: 0 0 0.5rem 0;
  display: block;
}

.wpcf7 .form-container .form-block .wpcf7-checkbox .wpcf7-list-item input {
  margin-right: 10px;
}

.wpcf7 .form-buttons input {
  padding: 1rem;
  display: block;
  width: 100%;
  color: #fff;
  opacity: 0.85;
  transition: opacity 250ms;
}

.wpcf7 .form-buttons input:hover {
  opacity: 1;
}

.wpcf7 .form-buttons input[type=reset] {
  background-color: #B9B9B9;
}

.wpcf7 .form-buttons input[type=submit] {
  background-color: #BE2855;
}

.wpcf7 input[type=text], 
.wpcf7 input[type=number],
.wpcf7 input[type=email],
.wpcf7 textarea {
  background-color: #fff;
  box-shadow: none;
  border: 3px solid #F0F0F0;
}
.wpcf7 .wpcf7-list-item-label a {
  text-decoration: underline;
}

.wpcf7 .wpcf7-list-item-label a:hover {
  text-decoration: none;
}

