@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
.centerHorizontal {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.centerVertical {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.centerBoth {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
}
table {
  border-spacing: 0;
}
fieldset, img {
  border: 0;
}
address, caption, cite, code, dfn, em, strong, th, var {
  font-weight: normal;
  font-style: normal;
}
strong {
  font-weight: bold;
}
ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
}
caption, th {
  text-align: left;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-size: 100%;
  margin: 0;
  padding: 0;
  color: #444;
}
li {
  margin: 0;
  padding: 0;
  border: none;
}
a {
  color: #fff;
}
a:hover {
  text-shadow: 0 0 1px #950000;
}
body {
  font-family: 'open sans', arial, helvetica;
  color: #F2F2F2;
  background: #111;
  text-align: left;
  min-width: 500px;
}
h1 {
  font-size: 4rem;
}
h2 {
  font-size: 3rem;
}
h3 {
  font-size: 2.5rem;
}
h4 {
  font-size: 2rem;
}
h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}
#top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(51,51,51,0.7);
  height: 8rem;
}
#top .logo {
  float: left;
  white-space: nowrap;
  padding: 0 0.5rem 1rem 0.5rem;
  position: relative;
}
#top .logo .name {
  margin: 0 0 0 0;
  text-shadow: -2px -1px 2px #fff;
  font-size: 3rem;
  line-height: 5rem;
}
#top .logo .name a {
  color: #aaa;
}
#top .logo .name a:hover {
  text-shadow: inherit;
}
#top .logo .author {
  color: #f0f0f0;
  text-align: right;
  font-size: 1.5rem;
  padding: 0 0.5rem 0 0;
  text-shadow: -1px -1px 1px #aaa;
}
#top .logo:after {
  position: absolute;
  left: 100%;
  top: 0;
  content: '';
  display: block;
  width: 110px;
  height: 100%;
  background: url('/images/cech-grey.png') right center no-repeat;
  background-size: auto 120px;
}
#top .logo:before {
  position: absolute;
  left: calc(100% + 120px);
  top: 0;
  content: '';
  display: block;
  width: 110px;
  height: 100%;
  background: url('/images/sygnatura-gmerk.png') top center no-repeat;
  background-size: auto 80px;
}

@media (min-width: 1150px) {
  #top .logo:before {
    background: url('/images/sygnatura-gmerk.png') center no-repeat;
    background-size: auto 120px;
  }
}

#top #menu {
  margin: 0 0 0 500px;
}
#top #menu.open .small-menu .icon-menu {
  background-color: rgba(48,48,48,0.8);
}
#top #menu nav {
  position: absolute;
  bottom: 0.3rem;
  right: 0.3rem;
  border-bottom: solid 1px #444;
}
#top #menu nav ul {
  float: left;
  white-space: nowrap;
}
#top #menu nav ul li {
  display: inline-block;
}
#top #menu nav ul li a {
  display: block;
  padding: 0 1.1rem;
  color: #eee;
  border-radius: 5px;
  overflow: hidden;
  transition: background 0.5s ease;
  font-size: 1.1rem;
  line-height: 2.8rem;
  border-bottom: solid 2px transparent;
}
#top #menu nav ul li a:hover {
  background: rgba(48,48,48,0.8);
}
#top #menu nav ul li.active a {
  border-bottom-color: #950000;
}
#top #menu nav .small-menu {
  float: right;
  display: none;
}
#top #menu nav .small-menu .icon-menu {
  width: 45px;
  height: 45px;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  padding: 0 20px 0 10px;
  background: transparent url('icon/ico-menu.png') no-repeat center center;
  position: relative;
  transition: background 0.5s ease;
}
#top #menu nav .small-menu .icon-menu .label-menu {
  position: absolute;
  top: 4px;
  left: 17px;
}
#top #menu nav .small-menu .icon-menu:hover {
  background-color: rgba(48,48,48,0.8);
}
#top #menu nav .small-menu.show {
  display: block;
}
#top #menu nav .small-menu a {
  padding: 12px 10px;
}
#top #menu nav .small-menu a:hover {
  background: rgba(48,48,48,0.8);
}
#top #menu nav .small-menu ul {
  position: absolute;
  top: 57px;
  right: 0;
  background: rgba(51,51,51,0.7);
  display: none;
  max-width: 300px;
  z-index: 100;
  height: auto;
  overflow: hidden;
  transition: width 0.7s ease;
}
#top #menu nav .small-menu li {
  display: block;
}
#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(51,51,51,0.7);
  height: 3.2rem;
}
#footer address {
  padding: 0.5rem 2rem;
  font-size: 0.8rem;
}
#footer address .col {
  display: inline-block;
  vertical-align: middle;
  width: 33%;
}
#footer address .col:nth-child(2) {
  text-align: center;
}
#footer address .col:last-child {
  text-align: right;
}
.gallery {
  margin: 2rem 0;
  text-align: center;
}
.gallery li {
  display: inline-block;
  margin: 1%;
  vertical-align: top;
  height: 200px;
  width: 200px;
  box-shadow: 1px 1px 3px #fff;
  border-radius: 3px;
  border: 1px solid #fff;
  overflow: hidden;
  position: relative;
}
.gallery li a {
  display: flex !important;
  justify-content: flex-end;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  color: transparent;
}
.gallery li a:before {
  content: attr(data-nr);
  width: auto;
  height: auto;
  background: rgba(0,0,0,0.7);
  border-radius: 5px;
  position: absolute;
  top: 0;
  right: 0;
  color: white;
  padding: 3px 8px 5px;
  min-width: 30px;
}
.gallery li img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}
.gallery.big li {
  height: 250px;
  width: 250px;
}
.gallery header {
  text-align: left;
  margin: 0 0 1rem 4rem;
}
.gallery header .title {
  font-size: 1.7rem;
  text-align: left;
  margin: 0;
}
#static {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#static div {
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
  opacity: 0.4;
}
#static .bg-1 {
  background-image: url('/images/section/bg1.jpg');
}
#static .bg-2 {
  background-image: url('/images/section/bg2.jpg');
}
#static .bg-3 {
  background-image: url('/images/section/bg3.jpg');
  opacity: 0.3;
}
#static.section-home div {
  opacity: 0.9;
}
.section {
  background-size: cover;
  background-position: center;
}
.section .content-box {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease 0.2s;
  opacity: 0;
  overflow: auto;
}
.section .content {
  height: auto;
  overflow: hidden;
  min-height: 100%;
}
.section.active .content-box {
  opacity: 1;
}
.section.on-leave .content-box {
  transition-delay: 0s;
}
.section article {
  font-size: 1.1rem;
  position: relative;
  min-height: 100%;
}
.section h2 {
  margin: 2.5rem 1rem 0;
  color: #fff;
  text-shadow: 1px 1px 2px #950000, -1px -1px 2px #950000;
  display: inline-block;
  position: relative;
}
.section h2:before {
  content: '';
  position: absolute;
  top: 90%;
  left: 0;
  width: 100%;
  height: 1px;
  display: block;
  background: rgba(255,255,255,0.5);
  box-shadow: 0px 0px 2px #950000;
}
.section.home .feature {
  display: block;
  margin: 5rem;
  min-height: 23rem;
}
.section.home .feature li {
  display: block;
  text-align: right;
  opacity: 0.2;
  transition: all 0.8s ease;
  font-size: 2rem;
  line-height: 3rem;
  text-shadow: 1px 1px 2px #000, -1px -1px 2px #000;
}
.section.home .feature li.active {
  opacity: 1;
  font-size: 3rem;
  margin: 0 3rem 0 0;
}
.section.onas article {
  margin: 2rem 10%;
}
.section.cennik article {
  margin: 15% 10%;
  font-size: 2rem;
  text-align: center;
}
.section.kamienie article {
  font-size: 1.1rem;
  margin: 2rem 10%;
}
.section.kamienie .type-list {
  max-width: 700px;
  margin: 3rem auto 0 auto;
}
.section.kamienie .type-list li {
  display: block;
  padding: 1% 0;
  margin: 1% 0;
  border-bottom: 1px solid #fff;
  position: relative;
}
.section.kamienie .type-list li > div {
  display: inline-block;
  vertical-align: top;
  width: 49%;
}
.section.kamienie .type-list li > div:nth-child(1) {
  padding: 0 0 0 5%;
  width: 44%;
}
.section.kamienie .type-list li span {
  display: block;
  font-size: 1.5rem;
}
.section.kamienie .type-list li span:nth-child(n+2) {
  margin: 0 0 0 1rem;
  color: #aaa;
  font-size: 1rem;
}
.section.kamienie .type-list li a[rel] {
  display: block;
  width: 160px;
  height: 90px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 1px 1px 3px #fff;
  border-radius: 3px;
  border: 1px solid #fff;
  margin: 0 0 0 auto;
}
.section.kontakt h2 {
  margin: 0 0 2rem 0;
}
.section.kontakt article {
  margin: 2rem 5%;
}
.section.kontakt address {
  width: 400px;
}
.section.kontakt .address, .section.kontakt #google-map {
  display: inline-block;
  vertical-align: top;
  margin: 0 1rem;
}
.section.kontakt #google-map {
  width: calc(100% - 480px);
}
.section.kontakt .form {
  margin: 5rem 0;
}
.section.kontakt .form .title {
  border-bottom: 1px solid #ddd;
}
.section.kontakt .form .title small {
  float: right;
}
.section.kontakt .form form > div {
  margin: 0.8rem 0;
}
.section.kontakt .form label, .section.kontakt .form input, .section.kontakt .form textarea {
  display: inline-block;
  vertical-align: middle;
  line-height: 2rem;
  font-size: 1rem;
  padding: 0 10px;
}
.section.kontakt .form input, .section.kontakt .form textarea {
  width: calc(90% - 150px);
  max-width: 500px;
  min-width: 400px;
}
.section.kontakt .form label {
  width: 150px;
  text-align: right;
}
.section.kontakt .form textarea {
  max-width: calc(90% - 150px);
  min-width: 400px;
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  font-size: 1.3rem;
  line-height: 1.5rem;
  vertical-align: top;
}
.section.kontakt .form .button {
  padding: 0.5rem 2rem;
  border: 2px solid #fff;
  background: rgba(255,255,255,0.5);
  margin: 0 0 0 174px;
  display: inline-block;
}
.section.kontakt .form .msg {
  text-align: center;
  padding: 2rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}
.section.kontakt .form .msg .success, .section.kontakt .form .msg .error {
  display: none;
}
.section.kontakt .form.success-serwer .success {
  display: block;
  color: #00bb00;
}
.section.kontakt .form.error-serwer .error {
  display: block;
  color: #ff0000;
}
.section.kontakt .form .error input, .section.kontakt .form .error textarea {
  border: 1px solid #ff0000;
  color: #ff0000;
}
.section.kontakt .form .valid-error {
  display: none;
  color: #ff0000;
}
.section.kontakt .form.error .valid-error {
  display: inline;
}
#google-map {
  width: 90%;
  height: 50vh;
  display: block;
  box-shadow: 1px 1px 5px #fff;
}
#google-map #marker > * {
  color: #333;
}
@media all and (max-width: 900px) {
  .section.kontakt #google-map {
    position: relative;
    margin: 1rem 0 0 0;
    display: block;
    width: 100%;
  }
  .section.kontakt form > div {
    text-align: center;
  }
  .section.kontakt .form label {
    width: calc(90% - 150px);
    max-width: 500px;
    min-width: 400px;
    text-align: left;
  }
}
