@charset "utf-8";
/* LESS Document */
/*
 
Theme Name: Restauracja Piastowska
Theme URI: http://piastowska.pl/
Description: Strona firmowa
Version: 2
Author: Daniel Różynek
Author URI: http://www.moai.pl/
 
*/
/* ----------------BASICS---------------- */
body,
td,
th,
input,
textarea {
  font-family: 'EB Garamond', serif;
  color: #000;
  font-size: 18px;
  line-height: 30px;
}
body {
  background-color: #fff;
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  height: 100%;
}
img {
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
}
input,
textarea {
  font-weight: 300;
  box-sizing: border-box;
  width: 100%;
  border: solid 1px #666;
  padding-left: 8px;
  padding-right: 8px;
  outline: none;
  margin-bottom: 6px;
}
textarea {
  height: 200px;
}
.wpcf7-submit {
  color: #fff;
  background-color: #666;
  transition: ease-in-out all 0.3s;
}
.wpcf7-submit:hover {
  background-color: #160000;
}
a {
  color: #984E27;
  text-decoration: none;
}
a:hover {
  color: #4E3125;
  text-decoration: underline;
}
.alignleft {
  display: inline;
  float: left;
  margin-right: 20px;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.625em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.small {
  font-size: 10px;
}
.picfull {
  width: 100%;
  height: auto;
}
.res {
  padding-left: 140px;
  padding-right: 140px;
}
.under {
  text-align: center;
  background-color: #fff;
}
.white {
  background-color: #fff;
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
.left {
  flex: 0 0 50%;
  box-sizing: border-box;
  padding-right: 40px;
}
.right {
  flex: 0 0 50%;
  box-sizing: border-box;
  padding-left: 40px;
}
/* ----------------MENU---------------- */
.primary-navigation {
  text-align: right;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  box-sizing: border-box;
  flex: 1;
}
.primary-navigation li {
  padding-left: 12px;
  padding-right: 12px;
}
.primary-navigation li:last-of-type {
  padding-right: 0;
}
.primary-navigation a {
  font-family: 'Josefin Sans', sans-serif;
  position: relative;
  transition: all ease-in-out 0.5s;
  line-height: 42px;
  font-size: 24px;
  color: #fff;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
}
.primary-navigation a:after {
  content: '';
  display: inline-block;
  background-color: #fff;
  width: 0;
  margin-left: 50%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0px;
  transition: ease-in-out all 0.3s;
}
.primary-navigation a:hover {
  color: #fff;
  transition: all ease-in-out 0.25s;
}
.primary-navigation a:hover:after {
  width: 80%;
  margin-left: 10%;
}
.primary-navigation ul {
  list-style: none;
  margin: 0;
}
.primary-navigation ul li {
  border: 0;
  display: inline-block;
  position: relative;
}
.primary-navigation ul ul {
  text-align: left;
  float: left;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 42px;
  left: -999em;
  z-index: 99999;
}
.primary-navigation ul ul li {
  border: 0;
  display: block;
  height: auto;
  line-height: 1.0909090909;
  width: 100%;
}
.primary-navigation ul ul li a {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 8px 20px 8px 20px;
  box-sizing: border-box;
  display: block;
  color: #fff;
  white-space: nowrap;
}
.primary-navigation ul ul li a:hover {
  background-color: rgba(0, 0, 0, 0.9);
}
.primary-navigation ul ul li a:hover:after {
  display: none;
}
.primary-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.primary-navigation .current_page_item > a,
.primary-navigation .current_page_ancestor > a,
.primary-navigation .current-menu-item > a,
.primary-navigation .current-menu-ancestor > a,
.primary-navigation .mPS2id-highlight {
  color: #fff;
}
.primary-navigation .current_page_item > a:after,
.primary-navigation .current_page_ancestor > a:after,
.primary-navigation .current-menu-item > a:after,
.primary-navigation .current-menu-ancestor > a:after,
.primary-navigation .mPS2id-highlight:after {
  width: 80%;
  margin-left: 10%;
}
.primary-navigation ul li:hover > ul,
.primary-navigation ul li.focus > ul {
  left: 0;
}
.primary-navigation ul ul li:hover > ul,
.primary-navigation ul ul li.focus > ul {
  left: 100%;
}
/* ----------------GENERAL---------------- */
.dwiekolumny {
  -webkit-column-count: 2;
  -webkit-column-gap: 100px;
  -webkit-column-rule: solid;
  -webkit-column-rule-color: #666666;
  -webkit-column-rule-width: 1px;
  column-count: 2;
  column-gap: 100px;
  column-rule: solid;
  column-rule-color: #666666;
  column-rule-width: 1px;
}
.trzykolumny {
  -webkit-column-count: 3;
  -webkit-column-gap: 100px;
  column-count: 3;
  column-gap: 100px;
}
.fullheight {
  box-sizing: border-box;
}
.center {
  display: table-cell;
  vertical-align: middle;
}
h1 {
  font-family: 'Fondamento', cursive;
  font-size: 44px;
  line-height: 50px;
  font-weight: 400;
  margin: 0px;
  padding: 30px 200px 30px 120px;
  color: #fff;
  background-color: rgba(43, 0, 0, 0.5);
  display: inline-block;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
h2 {
  font-size: 40px;
  font-weight: normal;
  line-height: 50px;
  padding-top: 0px;
  margin-top: 0px;
}
/* ----------------HEADER---------------- */
.menu-menu-1-container {
  position: relative;
}
#logo {
  background-image: url(images/logo.png);
  height: 89px;
  display: block;
  background-repeat: no-repeat;
  flex: 0 0 372px;
  background-size: contain;
  transition: ease-in-out all 0.5s;
}
.headwrap {
  justify-content: space-between;
  padding-left: 60px;
  padding-right: 60px;
  padding-top: 12px;
  height: 110px;
  box-sizing: border-box;
  transition: ease-in-out all 0.5s;
}
.headwrap #lang {
  text-align: right;
  padding: 0 0 11px 0;
  margin: 0;
  list-style: none;
}
.headwrap #lang .wpml-ls-legacy-list-horizontal {
  padding-right: 0;
}
.headwrap #lang .wpml-ls-legacy-list-horizontal a {
  padding-right: 0;
}
header {
  z-index: 100;
  transition: all ease-in-out 0.5s;
  width: 100%;
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.scrolled .headwrap #lang {
  padding-bottom: 0;
}
.scrolled .headwrap #lang .wpml-ls-legacy-list-horizontal {
  padding: 0;
}
.scrolled #totop {
  right: 0;
}
.scrolled #logo {
  top: 0;
  height: 57px;
}
.scrolled .headwrap {
  padding-top: 0px;
  height: 57px;
}
.scrolled #primary-navigation {
  line-height: 1;
}
.scrolled .primary-navigation a {
  line-height: 27px;
  font-size: 20px;
}
.scrolled ul ul {
  top: 36px;
}
/* ----------------FRONT---------------- */
.slajder .slick-track {
  height: 82vh;
}
.slajd {
  background-size: cover;
  background-position: center;
}
.promocje {
  width: 100%;
  position: absolute;
  text-align: center;
  top: calc(90vh - 160px);
}
.promocje .promocja {
  display: inline-block;
  padding: 0 10px;
}
.promocje .promocja img {
  box-shadow: 0 0 38px rgba(0, 0, 0, 0.8);
}
.promocje.res {
  padding-left: 90px;
  padding-right: 90px;
}
.galeria .gal img {
  width: 100%;
  height: auto;
}
.text-wrap {
  padding-bottom: 50px;
  padding-top: 50px;
}
.text-wrap .text {
  width: 100%;
  box-sizing: border-box;
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  line-height: 32px;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-weight: 300;
  padding: 100px;
}
.polecamy-wrap {
  display: flex;
  justify-content: space-between;
}
.polecamy-wrap .menu-column {
  flex: 0 0 49%;
}
#dzis-polecamy .text-wrap {
  padding-top: 0;
}
#dzis-polecamy .text-wrap .text {
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: left bottom;
}
/* ----------------CONTENT---------------- */
.content-wrap {
  font-weight: 400;
  font-family: 'EB Garamond', serif;
  padding-bottom: 100px;
  padding-top: 100px;
}
.headpic {
  height: 400px;
  background-position: center !important;
  background-size: cover !important;
}
.content {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 110px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-image: url("images/piastowska.png");
  background-position: calc(100% - 20px) calc(100% - 20px);
  background-repeat: no-repeat;
}
.page-id-14 .content,
.page-id-9 .content {
  background-image: none;
}
.grid a {
  margin-bottom: 1px;
  margin-right: 1px;
  display: block;
}
.grid img {
  width: 100%;
  height: auto;
  display: block;
  padding: 2px;
  box-sizing: border-box;
}
.grid-item,
.grid-sizer {
  display: block;
  width: 33.33%;
}
#menuwrap {
  width: calc(100% - 250px);
}
#subwrap {
  position: relative;
}
#submenu {
  text-align: right;
  width: 200px;
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 0;
  margin: 0;
  list-style: none;
}
#submenu li {
  padding: 4px 0 4px 0;
  border-bottom: 1px dotted #2b0008;
}
#submenu li a {
  display: block;
  font-size: 20px;
  line-height: 28px;
  color: #000;
  text-decoration: none;
  transition: ease-in-out all 0.3s;
}
#submenu li a:hover {
  transform: translateX(-10px);
}
#submenu.fixed {
  position: fixed;
  top: 100px;
  right: 250px;
}
.wpgmza_map {
  float: none !important;
}
#totop {
  font-size: 30px;
  transition: ease-in-out all 0.3s;
  position: fixed;
  bottom: 150px;
  right: -58px;
  background-color: #965D5D;
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 15px 15px 9px 16px;
  border-radius: 30px 0 0 30px;
}
.row {
  font-size: 16px;
  padding: 4px 10px 4px 10px;
  display: flex;
  border-bottom: 1px dotted #965D5D;
}
.row .danie {
  flex: 1;
}
.row .gramatura {
  text-align: right;
  flex: 0 0 140px;
}
.row .ilosc {
  text-align: right;
  flex: 0 0 100px;
}
.dzial {
  font-size: 18px;
  border-bottom: 1px solid #2b0008;
  font-weight: 600;
  color: #2b0008;
}
.naglowek {
  background-color: #2b0008;
  font-weight: 600;
  color: #fff;
}
.poprawiny {
  padding-top: 40px;
}
.menu-wrap {
  color: #965D5D;
}
.menu-wrap a {
  color: #965D5D;
  font-weight: 600;
}
/* ----------------FOOTER---------------- */
#polecamy {
  z-index: 1;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  position: fixed;
  right: -110px;
  transform: rotate(-90deg);
  text-transform: uppercase;
  top: 200px;
  display: block;
  background-color: #fff;
  color: #2b0008;
  text-decoration: none;
  padding: 8px 40px 8px 40px;
  font-family: 'Josefin Sans', sans-serif;
  transition: ease-in-out all 0.3s;
  padding-bottom: 40px;
}
#polecamy:hover {
  right: -80px;
}
footer {
  font-family: 'Josefin Sans', sans-serif;
  background-color: #2b0008;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding-bottom: 20px;
  padding-top: 20px;
  text-align: center;
  font-weight: 300;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
  color: #fff;
}
footer ul {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
}
footer ul li {
  flex: 1;
}
#copy {
  background-color: #1e0000;
  text-align: center;
  color: #ccc;
  padding: 10px;
  font-size: 14px;
  line-height: 20px;
}
#copy a {
  color: #AEAEAE;
}
#copy a:hover {
  color: #fff;
  text-decoration: none;
}
/* ----------------ANIMATIONS---------------- */
.anim {
  transition: ease-out all 0.5s;
}
.afade {
  opacity: 0;
}
.aleft {
  transform: translateX(-50px);
  opacity: 0;
}
.aright {
  transform: translateX(50px);
  opacity: 0;
}
.abottom {
  transform: translateY(50px);
  opacity: 0;
}
.visible {
  transition-delay: 0.5s;
  transform: translateX(0);
  opacity: 1;
  transform: translateY(0);
}
/* ----------------RESPONSIVE---------------- */
@media handheld and (max-width: 1450px), screen and (max-width: 1450px) {
  .text-wrap .text {
    padding: 70px;
  }
}
@media handheld and (max-width: 1366px), screen and (max-width: 1366px) {
  h1 {
    font-size: 44px;
    line-height: 50px;
    padding: 20px 200px 20px 80px;
  }
  .content-wrap {
    padding-bottom: 80px;
    padding-top: 80px;
  }
  .content {
    padding: 80px;
  }
  #submenu.fixed {
    right: 110px;
  }
  .res {
    width: 100%;
    box-sizing: border-box;
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media handheld and (max-width: 1280px), screen and (max-width: 1280px) {
  .headwrap {
    padding-left: 50px;
    padding-right: 50px;
  }
}
@media handheld and (max-width: 800px), screen and (max-width: 800px) {
  #menuwrap {
    width: calc(100% - 200px);
  }
  #submenu {
    width: 160px;
  }
  .content {
    background-position: calc(100% - 9px) calc(100% + 9px);
    background-size: 13%;
  }
  #logo {
    right: 10px;
  }
  .submenu .sidemenu {
    padding-left: 80px;
    margin: 0;
  }
  .submenu .sidemenu li {
    display: inline-block;
    padding-right: 30px;
  }
  .flex,
  .polecamy-wrap,
  .submenu {
    display: block;
  }
  .slajder .slick-track {
    height: 60vh;
  }
  .headwrap {
    display: flex;
  }
  .headwrap .headright {
    flex: 1;
  }
}
@media handheld and (max-width: 640px), screen and (max-width: 640px) {
  .headwrap {
    padding-left: 40px;
    padding-top: 3px;
  }
  .headwrap #logo {
    height: 44px;
    flex: 0 0 152px;
  }
  #menuwrap {
    width: 100%;
  }
  #submenu {
    display: none;
  }
  #wesele .wesele-back {
    background-position: calc(100% + 40px) top;
    padding-right: 40px;
  }
  #wesele .content {
    padding-top: 20px;
    background-size: 12%;
  }
  .submenu .sidemenu {
    padding: 20px 30px;
  }
  h1 {
    padding: 10px 49px 10px 30px;
    font-size: 36px;
    line-height: 44px;
  }
  #polecamy {
    font-size: 12px;
    line-height: 12px;
    right: -60px;
    padding: 8px 20px 8px 20px;
  }
  #polecamy:hover {
    right: -60px;
  }
  .content {
    padding: 30px;
  }
  footer ul {
    display: block;
  }
  h2 {
    font-size: 30px;
    line-height: 40px;
  }
  .text-wrap .text {
    padding: 30px;
    font-size: 18px;
    line-height: 24px;
  }
  .scrolled #logo {
    top: 3px;
  }
  .scrolled .headwrap {
    height: 50px;
  }
  .headwrap {
    height: 50px;
  }
  #logo {
    top: 3px;
    width: 70%;
  }
  .res {
    padding: 20px 10px;
  }
}
