/*!
Theme Name: Hergo
Author:
Author URI:
Version: 1.0
Text Domain: hergo
*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700&subset=latin,latin-ext);
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/**
 * Twitter Bootstrap table layout
 */
table {
  background-color: transparent;
}

caption {
  padding-top: 8px;
  padding-bottom: 8px;
  color: #777777;
  text-align: left;
}

th {
  text-align: left;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #dddddd;
}

.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #dddddd;
}

.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
  border-top: 0;
}

.table > tbody + tbody {
  border-top: 2px solid #dddddd;
}

.table .table {
  background-color: #ffffff;
}

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
  padding: 5px;
}

.table-bordered {
  border: 1px solid #dddddd;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #dddddd;
}

.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  border-bottom-width: 2px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.table-hover > tbody > tr:hover {
  background-color: #f5f5f5;
}

table col[class*="col-"] {
  position: static;
  float: none;
  display: table-column;
}

table td[class*="col-"],
table th[class*="col-"] {
  position: static;
  float: none;
  display: table-cell;
}

.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
  background-color: #f5f5f5;
}

.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover,
.table-hover > tbody > tr.active:hover > td,
.table-hover > tbody > tr:hover > .active,
.table-hover > tbody > tr.active:hover > th {
  background-color: #e8e8e8;
}

.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
  background-color: #dff0d8;
}

.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
.table-hover > tbody > tr.success:hover > td,
.table-hover > tbody > tr:hover > .success,
.table-hover > tbody > tr.success:hover > th {
  background-color: #d0e9c6;
}

.table > thead > tr > td.info,
.table > tbody > tr > td.info,
.table > tfoot > tr > td.info,
.table > thead > tr > th.info,
.table > tbody > tr > th.info,
.table > tfoot > tr > th.info,
.table > thead > tr.info > td,
.table > tbody > tr.info > td,
.table > tfoot > tr.info > td,
.table > thead > tr.info > th,
.table > tbody > tr.info > th,
.table > tfoot > tr.info > th {
  background-color: #d9edf7;
}

.table-hover > tbody > tr > td.info:hover,
.table-hover > tbody > tr > th.info:hover,
.table-hover > tbody > tr.info:hover > td,
.table-hover > tbody > tr:hover > .info,
.table-hover > tbody > tr.info:hover > th {
  background-color: #c4e3f3;
}

.table > thead > tr > td.warning,
.table > tbody > tr > td.warning,
.table > tfoot > tr > td.warning,
.table > thead > tr > th.warning,
.table > tbody > tr > th.warning,
.table > tfoot > tr > th.warning,
.table > thead > tr.warning > td,
.table > tbody > tr.warning > td,
.table > tfoot > tr.warning > td,
.table > thead > tr.warning > th,
.table > tbody > tr.warning > th,
.table > tfoot > tr.warning > th {
  background-color: #fcf8e3;
}

.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
.table-hover > tbody > tr.warning:hover > td,
.table-hover > tbody > tr:hover > .warning,
.table-hover > tbody > tr.warning:hover > th {
  background-color: #faf2cc;
}

.table > thead > tr > td.danger,
.table > tbody > tr > td.danger,
.table > tfoot > tr > td.danger,
.table > thead > tr > th.danger,
.table > tbody > tr > th.danger,
.table > tfoot > tr > th.danger,
.table > thead > tr.danger > td,
.table > tbody > tr.danger > td,
.table > tfoot > tr.danger > td,
.table > thead > tr.danger > th,
.table > tbody > tr.danger > th,
.table > tfoot > tr.danger > th {
  background-color: #f2dede;
}

.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover,
.table-hover > tbody > tr.danger:hover > td,
.table-hover > tbody > tr:hover > .danger,
.table-hover > tbody > tr.danger:hover > th {
  background-color: #ebcccc;
}

.table-responsive {
  overflow-x: auto;
  min-height: 0.01%;
}

@media screen and (max-width: 767px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #dddddd;
  }

  .table-responsive > .table {
    margin-bottom: 0;
  }

  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
    white-space: nowrap;
  }

  .table-responsive > .table-bordered {
    border: 0;
  }

  .table-responsive > .table-bordered > thead > tr > th:first-child,
  .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .table-responsive > .table-bordered > thead > tr > td:first-child,
  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }

  .table-responsive > .table-bordered > thead > tr > th:last-child,
  .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .table-responsive > .table-bordered > thead > tr > td:last-child,
  .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .table-responsive > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }

  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th,
  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td {
    border-bottom: 0;
  }
}
/*$mobile: max-width 767px;
$small: 768px; //991px
$medium: 992px; //1199px
$large: 1200px;*/
/** Colors */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: inherit;
}

input, textarea {
  font-family: inherit;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
}

h1, h2, h3, h4 {
  font-weight: 300;
  color: #EC2028;
  margin: 0 0 20px;
}
h1:last-child, h2:last-child, h3:last-child, h4:last-child {
  margin-bottom: 0;
}

h1 {
  font-size: 47px;
  line-height: 1.2em;
}

h2 {
  font-size: 37px;
  line-height: 1.2em;
}

h3 {
  font-size: 27px;
  line-height: 1.2em;
}

h4 {
  font-size: 20px;
  line-height: 1.2em;
}

p {
  margin: 0 0 20px;
  line-height: 1.5em;
}
p:last-child {
  margin-bottom: 0;
}

ul, ol {
  list-style: square;
  margin: 0 0 20px;
}
ul:last-child, ol:last-child {
  margin-bottom: 0;
}
ul li, ol li {
  margin: 5px 0;
}
ul li:first-child, ol li:first-child {
  margin-top: 0;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

ol {
  list-style: decimal;
}

.table {
  display: table !important;
}
.table:last-child {
  margin-bottom: 0;
}
.table > .row {
  display: table-row;
}
.table > .row > .cell, .table > .cell {
  display: table-cell;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

button:active, button:focus,
input[type=submit]:active,
input[type=submit]:focus,
input[type=button]:active,
input[type=button]:focus {
  outline: 0 !important;
}

.btn {
  display: inline-block;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 20px;
  padding: 7px 25px;
  border-radius: 10px;
  min-height: 36px;
  border: 1px solid transparent;
  color: #FFFFFF;
}
.btn.btn-contact {
  background-color: #EC2028;
  padding-right: 40px;
  position: relative;
}
.btn.btn-contact::after {
  content: '\25b6';
  display: inline-block;
  height: 20px;
  width: 20px;
  text-align: center;
  line-height: 20px;
  vertical-align: top;
  position: absolute;
  top: 7px;
  right: 15px;
  bottom: 7px;
  margin: auto 0 auto 10px;
}
.btn.btn-contact[disabled] {
  opacity: .8;
}
.btn.btn-contact.preloader::after {
  border: 2px solid transparent;
  content: '';
  border-radius: 50%;
  border-right-color: #fff;
  border-top-color: rgba(255, 255, 255, 0.2);
  -webkit-animation: spin .6s linear infinite;
  animation: spin .6s linear infinite;
}
.btn.btn-success {
  background-color: #5CB85C;
  border-color: #4CAE4C;
}
.btn.btn-success:hover {
  background-color: #449D44;
  border-color: #398439;
}
.btn.btn-danger {
  background-color: #D9534F;
  border-color: #D43F3A;
}
.btn.btn-danger:hover {
  background-color: #C9302C;
  border-color: #AC2925;
}
.btn.btn-warning {
  background-color: #F0AD4E;
  border-color: #EEA236;
}
.btn.btn-warning:hover {
  background-color: #EC971F;
  border-color: #D58512;
}
.btn.btn-info {
  background-color: #01348E;
  border-color: #001842;
}
.btn.btn-info:hover {
  background-color: #0147c1;
  border-color: #01348E;
}
.btn.btn-download {
  margin: 25px 0 10px;
}
.btn.btn-more {
  color: #FFFFFF;
  background-color: #EC2028;
  border-color: #c81118;
}
.btn.btn-more:hover {
  background-color: #f04f55;
  border-color: #EC2028;
}
.btn-field {
  display: block;
  border: 1px solid #cdcdcd;
  border-radius: 5px;
  background: #fff;
  height: 120px;
  width: 120px;
  color: #EC2028;
  margin: 5px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  -webkit-transition: background .3s ease, color .3s ease;
  transition: background .3s ease, color .3s ease;
}
.btn-field span {
  text-align: center;
  padding: 10px;
  display: block;
  position: absolute;
  top: 50%;
  font-size: 13px;
  left: 0;
  right: 0;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
input:checked + .btn-field {
  background: #EC2028;
  color: #fff;
}
.btn-close {
  display: block;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: #cdcdcd;
  font-size: 20px;
  line-height: normal;
  padding: 0;
}

input[type=url],
input[type=tel],
input[type=text],
input[type=email],
input[type=number],
input[type=search],
input[type=password],
textarea,
select {
  border: 1px solid #cdcdcd;
  border-radius: 5px;
  height: 52px;
  padding: 16px;
  font-size: 13px;
  background: #fff;
  width: 100%;
  -webkit-transition: border-color .3s ease, background-color .3s ease, color .3s ease;
  transition: border-color .3s ease, background-color .3s ease, color .3s ease;
}
input[type=url]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: #9a9a9a;
}
input[type=url].error, .fitem.error input[type=url],
input[type=tel].error, .fitem.error
input[type=tel],
input[type=text].error, .fitem.error
input[type=text],
input[type=email].error, .fitem.error
input[type=email],
input[type=number].error, .fitem.error
input[type=number],
input[type=search].error, .fitem.error
input[type=search],
input[type=password].error, .fitem.error
input[type=password],
textarea.error, .fitem.error
textarea,
select.error, .fitem.error
select {
  border-color: #EC2028;
  color: #EC2028;
}

.fitem {
  position: relative;
}
.fitem + .fitem {
  margin-top: 10px;
}
.fitem.submit {
  text-align: center;
}
.fitem label.error {
  color: #EC2028;
  font-size: 13px;
  position: absolute;
  right: 17px;
  top: 17px;
  display: block;
}
.fitem.checkbox label.error, .fitem.radio label.error {
  position: static;
  display: inline-block;
  margin: 0;
}
.fitem.checkbox .fmain input, .fitem.radio .fmain input {
  margin-right: 5px;
}
.fitem.checkbox.error .fmain label, .fitem.radio.error .fmain label {
  color: #EC2028;
  margin-right: 20px;
}
.fitem.btns .fmain {
  margin: -5px;
  font-size: 0;
}
.fitem.btns .fmain .fbtn {
  display: inline-block;
  vertical-align: top;
}
.fitem.btns .fmain .fbtn input {
  position: absolute;
  left: 10px;
  top: 10px;
  opacity: 0;
}

.popup {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  -webkit-transition: opacity .35s ease, visibility .35s ease;
  transition: opacity .35s ease, visibility .35s ease;
}
.popup-lock body {
  overflow: hidden;
}
.popup-lock #wrapper {
  -webkit-filter: blur(2px);
  filter: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPGZpbHRlciBpZD0ibWFzayI+CgkJPGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iMiIvPgoJPC9maWx0ZXI+Cjwvc3ZnPg==#mask");
}
.popup.popup-show {
  overflow-y: scroll;
  opacity: 1;
  visibility: visible;
}
.popup-outer {
  height: 100%;
  width: 100%;
  display: table;
}
.popup-inner {
  display: table-cell;
  vertical-align: middle;
  padding: 20px;
}
.popup-wrap {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  -moz-transform: scale(0.95, 0.95);
  -ms-transform: scale(0.95, 0.95);
  -webkit-transform: scale(0.95, 0.95);
  transform: scale(0.95, 0.95);
  -webkit-transition: transform .35s ease-in-out;
  transition: transform .35s ease-in-out;
}
.popup.popup-show .popup-wrap {
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
}
.popup-main {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}
.popup .btn-close.popup-close {
  position: absolute;
  right: 0;
  top: 0;
}

#kontakt_popup .popup-wrap {
  max-width: 550px;
}
#kontakt_popup .fitem.checkbox:not(.btns) .fmain {
  font-size: 13px;
}
#kontakt_popup .fitem.submit {
  margin-top: 30px;
}
#kontakt_popup .form-wrap h3, #kontakt_popup .form-wrap .alert {
  text-align: center;
}

@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.container {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.container:after {
  content: " ";
  display: block;
  clear: both;
}

#wrapper > header {
  padding: 0 0 10px;
  text-align: center;
  background-color: rgba(93, 93, 93, 0.9);
  width: 100%;
  color: #FFFFFF;
  overflow: hidden;
  z-index: 100;
  height: 70px;
}
#wrapper > header #logo {
  text-align: left;
  margin: 10px 0 0 10px;
  width: 70%;
  float: left;
  margin-left: 2.5%;
  margin-right: 2.5%;
  padding: 0 0 0 1.25%;
  display: inline-block;
  height: 50px;
}
#wrapper > header #logo a, #wrapper > header #logo img {
  display: inline-block;
}
#wrapper > header .contact {
  line-height: 80px;
  display: inline-block;
  clear: both;
}
#wrapper > header .menu-icon {
  text-align: right;
  width: 20%;
  float: left;
  margin-left: 2.5%;
  margin-right: 2.5%;
  margin-top: 5px;
  display: block;
  font-size: 25px;
  line-height: 60px;
  text-indent: -9999px;
  white-space: nowrap;
  background-image: url(images/menu-open.svg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 60px;
  padding-right: 60px;
  height: 60px;
  text-transform: uppercase;
}
#wrapper > header.open .menu-icon, #wrapper > header .menu-icon.expanded {
  background-image: url(images/menu-close.svg);
}
#wrapper > header nav {
  clear: both;
  width: 95%;
  float: left;
  margin-left: 2.5%;
  margin-right: 2.5%;
}
#wrapper > header nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#wrapper > header nav ul li {
  margin: 0 0 5px;
}
#wrapper > header nav ul li:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
}
#wrapper > header nav ul li a {
  text-align: center;
  display: block;
  height: 45px;
  line-height: 40px;
  font-size: 16px;
  text-transform: uppercase;
  border: 2px solid #FFFFFF;
}

.block {
  min-height: 350px;
  padding: 20px 0;
  clear: both;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
.block hr {
  border: 0;
  border-top: 1px solid #DDDDDD;
}
.block.single-post {
  text-align: center;
}
.block.single-post h1 {
  padding: 0;
}
.block.single-post .image {
  text-align: center;
}
.block.single-post img {
  width: 320px;
  height: auto;
}
.block.single-post .content {
  padding: 10px;
}
.block.static {
  padding-top: 100px;
}
.block.static hr:last-child {
  display: none;
}
.block.start {
  height: 500px;
  padding-top: 80px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}
.block.map {
  height: 350px;
  padding: 0;
}
.block.map .map-wrapper {
  height: 100%;
}
.block.map iframe {
  width: 100%;
  min-height: 350px;
  border: 0;
}
.block.map iframe.scrolloff {
  pointer-events: none;
}
.block.docs h1 {
  text-align: center;
}
.block.docs .item {
  text-align: center;
  margin-top: 25px;
}
.block.docs .item p {
  min-height: 3em;
}
.block.docs .docs-ico {
  margin-top: 10px;
}
.block.docs .docs-ico a {
  display: block;
  width: 64px;
  margin: 0 auto;
}
.block.docs .docs-ico a img {
  display: block;
}
.block.columns {
  padding-bottom: 50px;
}
.block.columns .subtitle {
  font-size: 17px;
  line-height: 1.5em;
}
.block.columns .row {
  margin-top: 50px;
  margin-bottom: 50px;
}
.block.columns .col {
  text-align: center;
  padding-bottom: 50px;
}
.block.content .row {
  text-align: center;
}
.block.content .row .image {
  padding: 10px;
}
.block.content .row .image img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
.block.content .row .content {
  padding: 10px;
}
.block.content .row .content.valign-top {
  vertical-align: top;
}
.block.content .row .content.valign-middle {
  vertical-align: middle;
}
.block.content .row .content.valign-bottom {
  vertical-align: bottom;
}
.block.news h1 {
  text-align: center;
}
.block.news .item {
  text-align: center;
  margin-top: 25px;
}
.block.news .item h4, .block.news .item p {
  color: #5D5D5D;
}
.block.news .item .image img {
  width: 320px;
}
.block.slider {
  position: relative;
  padding: 0;
}
.block.slider .slide {
  background-position: 50% 0;
  background-repeat: no-repeat;
  text-align: center;
}
.block.slider .container {
  height: 100%;
}
.block.slider .table {
  height: 100%;
}
.block.slider .cell {
  padding: 20px;
}
.block.slider .cell.align-center {
  text-align: center;
}
.block.slider .cell.align-left {
  text-align: left;
}
.block.slider .cell.align-right {
  text-align: right;
}
.block.slider .cell.valign-top {
  vertical-align: top;
}
.block.slider .cell.valign-middle {
  vertical-align: middle;
}
.block.slider .cell.valign-bottom {
  vertical-align: bottom;
}
.block.slider .bx-pager {
  position: absolute;
  bottom: 25px;
  z-index: 55;
  width: 100%;
  text-align: center;
}
.block.slider .bx-pager .bx-pager-item {
  display: inline-block;
}
.block.slider .bx-pager .bx-pager-item a {
  display: block;
  background: #FFFFFF;
  opacity: 0.5;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  text-indent: -9999px;
}
.block.slider .bx-pager .bx-pager-item .bx-pager-link.active {
  background: #EC2028;
  opacity: 1;
}
.block.slider .bx-pager .bx-pager-item .bx-pager-link:hover {
  opacity: 0.75;
}
.block.slider .bx-wrapper, .block.slider .bx-viewport, .block.slider .slide, .block.slider .slider {
  height: 100%;
  min-height: 350px;
}
.block.slider .bx-controls-direction {
  position: absolute;
  top: 50%;
  z-index: 55;
  width: 100%;
  margin-top: -16px;
}
header + .block.slider .bx-controls-direction {
  padding-top: 35px;
}
.block.slider .bx-controls-direction a {
  position: absolute;
  height: 34px;
  width: 34px;
  display: block;
  opacity: 0.5;
  text-indent: -9999px;
}
.block.slider .bx-controls-direction a:hover {
  opacity: 1;
}
.block.slider .bx-controls-direction .bx-prev {
  left: 30px;
  background: url(images/slider-prev.png) no-repeat center center;
}
.block.slider .bx-controls-direction .bx-next {
  right: 30px;
  background: url(images/slider-next.png) no-repeat center center;
}
.block.accordion .accordion-item {
  border: 1px solid #ddd;
}
.block.accordion .accordion-item + .accordion-item {
  margin-top: 10px;
}
.block.accordion .accordion-item.expand .accordion-main {
  opacity: 1;
  visibility: visible;
  max-height: 1000px;
}
.block.accordion .accordion-item.expand .accordion-bar::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.block.accordion .accordion-item.expand .accordion-bar::after {
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
}
.block.accordion .accordion-bar {
  padding: 20px 60px 20px 20px;
  cursor: pointer;
  position: relative;
}
.block.accordion .accordion-bar::before, .block.accordion .accordion-bar::after {
  display: block;
  content: '';
  width: 15px;
  border-top: 1px solid #ddd;
  position: absolute;
  right: 30px;
  top: 50%;
  -webkit-transition: transform .3s ease;
  transition: transform .3s ease;
}
.block.accordion .accordion-bar::before {
  margin: -1px 0 0 -10px;
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
}
.block.accordion .accordion-bar::after {
  margin: -1px -10px 0 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.block.accordion .accordion-bar h4 {
  margin: 0;
}
.block.accordion .accordion-main {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  -webkit-transition: opacity .3s ease, visibility .3s ease, max-height .3s ease;
  transition: opacity .3s ease, visibility .3s ease, max-height .3s ease;
}
.block.accordion .accordion-inner {
  padding: 0 20px 20px;
}
.block.counters .subtitle {
  font-size: 17px;
  line-height: 1.5em;
}
.block.counters .col {
  text-align: center;
  padding: 20px 0;
}
.block.counters .col img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

footer {
  border-top: 1px solid #DDDDDD;
  margin-top: 40px;
}
footer p {
  width: 95%;
  float: left;
  margin-left: 2.5%;
  margin-right: 2.5%;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
}
footer nav.footer ul {
  padding: 0;
  text-align: center;
  clear: both;
  list-style: none;
}
footer nav.footer ul li {
  margin: 3px 0;
}
footer nav.footer ul li a {
  display: block;
  color: #01348E;
  font-size: 15px;
  padding: 0 10px;
  border: 1px solid #01348E;
  line-height: 45px;
}
footer nav.footer ul li a:hover, footer nav.footer ul li a a:focus {
  color: #EC2028;
  text-decoration: underline;
}
footer nav.footer ul.social li a {
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  display: inline-block;
  width: 35px;
  height: 35px;
  text-indent: -9999px;
}
footer nav.footer ul.social li a.facebook {
  background-image: url(images/social-facebook.png);
}
footer nav.footer ul.social li a.twitter {
  background-image: url(images/social-twitter.png);
}
footer nav.footer ul.social li a.youtube {
  background-image: url(images/social-youtube.png);
}
footer nav.footer ul.social li a:hover {
  background-position: 0 -35px;
}

@media (min-width: 481px) {
  .container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  .container:after {
    content: " ";
    display: block;
    clear: both;
  }

  #wrapper > header #logo {
    width: 35%;
    float: left;
    margin-left: 1.25%;
    margin-right: 1.25%;
  }
  #wrapper > header .menu-icon {
    width: 41.25%;
    float: right;
    margin-left: 1.25%;
    margin-right: 1.25%;
    text-indent: 0;
    padding-right: 70px;
  }
  #wrapper > header .contact {
    width: 100%;
    text-align: center;
  }
  #wrapper > header nav {
    width: 97.5%;
    float: left;
    margin-left: 1.25%;
    margin-right: 1.25%;
  }
  #wrapper > header nav ul li {
    width: 47.5%;
    float: left;
    margin-left: 1.25%;
    margin-right: 1.25%;
  }

  .block {
    padding: 40px 0;
  }
  .block.columns .clearfix:after {
    display: none;
  }

  footer p {
    width: 97.5%;
    float: left;
    margin-left: 1.25%;
    margin-right: 1.25%;
  }
  footer nav.footer ul li {
    width: 47.5%;
    float: left;
    margin-left: 1.25%;
    margin-right: 1.25%;
  }
}
@media (min-width: 769px) {
  .container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  .container:after {
    content: " ";
    display: block;
    clear: both;
  }

  #wrapper > header {
    position: fixed;
    width: 100%;
    top: 0;
    color: #FFFFFF;
    overflow: hidden;
    z-index: 100;
    height: 80px;
  }
  #wrapper > header #logo {
    width: 28.0%;
    float: left;
    margin-left: 1%;
    margin-right: 1%;
    margin-top: 15px;
  }
  #wrapper > header .menu-icon {
    width: 8%;
    float: right;
    margin-left: 1%;
    margin-right: 1%;
    font-size: 14px;
    background-size: 20px;
    text-align: right;
    padding-right: 30px;
    line-height: 60px;
    margin-top: 10px;
  }
  #wrapper > header .contact {
    float: right;
    width: auto;
    clear: none;
  }
  #wrapper > header nav {
    clear: both;
  }
  #wrapper > header nav ul {
    padding: 0;
  }
  #wrapper > header nav ul.left {
    width: 68%;
    float: left;
    margin-left: 1%;
    margin-right: 1%;
    margin-top: 100px;
  }
  #wrapper > header nav ul.left li {
    display: inline-block;
    width: 17.14286%;
    text-align: center;
  }
  #wrapper > header nav ul.left li.icon-firma a {
    background-image: url(images/menu-icon-firma.png);
  }
  #wrapper > header nav ul.left li.icon-mieszkanie a {
    background-image: url(images/menu-icon-mieszkanie.png);
  }
  #wrapper > header nav ul.left li.icon-podroz a {
    background-image: url(images/menu-icon-podroz.png);
  }
  #wrapper > header nav ul.left li.icon-samochod a {
    background-image: url(images/menu-icon-samochod.png);
  }
  #wrapper > header nav ul.left li.icon-zdrowie a {
    background-image: url(images/menu-icon-zdrowie.png);
  }
  #wrapper > header nav ul.left li:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
  }
  #wrapper > header nav ul.left li a {
    display: inline-block;
    width: 100px;
    background-repeat: no-repeat;
    background-position: center top;
    padding: 85px 0 0;
    font-size: 16px;
    text-transform: uppercase;
    border: 0;
    height: auto;
  }
  #wrapper > header nav ul.right {
    width: 28.0%;
    float: left;
    margin-left: 1%;
    margin-right: 1%;
    float: right;
    margin-top: 70px;
    padding-top: 10px;
    height: 170px;
    text-align: right;
    border-left: 3px solid #FFFFFF;
  }
  #wrapper > header nav ul.right li {
    display: inline-block;
    vertical-align: top;
    width: 170px;
    padding-top: 5px;
    padding-left: 20px;
    margin-bottom: 10px;
  }
  #wrapper > header nav ul.right li a {
    text-align: left;
    text-transform: uppercase;
    border: 0;
    height: auto;
    line-height: 1.1em;
  }
  #wrapper > header nav ul.right li a:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
  }

  .block.single-post .image {
    float: left;
    width: auto;
  }
  .block.content > .container {
    height: 100%;
  }
  .block.content > .container > .row {
    height: 100%;
  }
  .block.content .row {
    display: table;
    width: 100%;
  }
  .block.content .row .image, .block.content .row .content {
    padding: 20px;
    display: table-cell;
    vertical-align: middle;
  }
  .block.content .row .content.align-left {
    text-align: left;
  }
  .block.content .row .content.align-center {
    text-align: center;
  }
  .block.content .row .content.align-right {
    text-align: right;
  }
  .block.columns .col {
    width: 48%;
    float: left;
    margin-left: 1%;
    margin-right: 1%;
  }
  .block.columns .col.col2:nth-of-type(2n) {
    float: right;
  }
  .block.columns .col.col3:nth-of-type(3n) {
    margin-left: 26%;
    clear: both;
  }
  .block.news h1 {
    clear: both;
  }
  .block.news .item.col2, .block.news .item.col3 {
    width: 48%;
    float: left;
    margin-left: 1%;
    margin-right: 1%;
  }
  .block.news .item.col2 h4, .block.news .item.col3 h4 {
    min-height: 2.3em;
  }
  .block.news .item.col2 .image, .block.news .item.col3 .image {
    height: 300px;
  }
  .block.news .item.col2:nth-of-type(2n) {
    float: right;
  }
  .block.news .item.col3:nth-of-type(3n) {
    width: 100%;
    clear: both;
  }
  header + .block.slider .cell {
    padding-top: 100px;
  }
  header + .block.slider .bx-controls-direction {
    padding-top: 40px;
  }
  .block.docs .item {
    width: 48%;
    float: left;
    margin-left: 1%;
    margin-right: 1%;
    margin-top: 25px;
  }
  .block.docs .item p {
    min-height: 4.5em;
  }
  .block.docs .item h4 {
    min-height: 2em;
  }
  .block.docs .item.col2:nth-of-type(2n) {
    float: right;
  }
  .block.docs .item.col3:nth-of-type(3n) {
    width: 100%;
    clear: both;
  }
  .block.map iframe {
    height: 100%;
  }
  .block.counters .row {
    margin-top: 50px;
    margin-bottom: 50px;
    display: table;
    table-layout: fixed;
    width: 100%;
  }
  .block.counters .col {
    text-align: center;
    display: table-cell;
    vertical-align: top;
    padding: 0 20px;
  }

  footer nav.footer {
    width: 78%;
    float: left;
    margin-left: 1%;
    margin-right: 1%;
    margin-left: 11%;
    margin-top: 10px;
  }
  footer nav.footer ul li {
    display: inline-block;
    width: auto;
    margin: 0 3px;
    float: none;
  }
  footer nav.footer ul li a {
    border: 0;
    display: inline;
    line-height: 1.2em;
    padding: 0;
  }
}
@media (min-width: 1025px) {
  .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  .container:after {
    content: " ";
    display: block;
    clear: both;
  }

  #wrapper > header #logo {
    text-align: left;
  }
  #wrapper > header nav ul.left {
    width: 60.83333%;
    float: left;
    margin-left: 0.83333%;
    margin-right: 0.83333%;
  }
  #wrapper > header nav ul.left li {
    width: 17.33333%;
  }
  #wrapper > header nav ul.left li a {
    display: inline-block;
    width: 100px;
    background-repeat: no-repeat;
    background-position: center top;
    padding: 85px 0 0;
    font-size: 16px;
    text-transform: uppercase;
  }
  #wrapper > header nav ul.right {
    width: 35.83333%;
    float: left;
    margin-left: 0.83333%;
    margin-right: 0.83333%;
  }
  #wrapper > header nav ul.right li {
    width: 45%;
    float: left;
    margin-left: 2.5%;
    margin-right: 2.5%;
    text-align: left;
    padding-top: 5px;
    padding-left: 20px;
  }
  #wrapper > header nav ul.right li a {
    display: inline;
    font-size: 14px;
  }

  .block.columns .clearfix:after {
    display: table;
  }
  .block.columns .col {
    clear: none;
  }
  .block.columns .col.col2 {
    width: 48.33333%;
    float: left;
    margin-left: 0.83333%;
    margin-right: 0.83333%;
  }
  .block.columns .col.col3 {
    width: 31.66667%;
    float: left;
    margin-left: 0.83333%;
    margin-right: 0.83333%;
  }
  .block.columns .col.col3:last-of-type:after {
    content: "";
    display: table;
    clear: both;
  }
  .block.columns .col.col2:nth-of-type(2n) {
    float: left;
  }
  .block.columns .col.col3:nth-of-type(3n) {
    margin-left: 0;
    clear: none;
    float: right;
  }
  header + .block.slider .cell {
    padding-top: 120px;
  }
  .block.slider .cell {
    padding: 40px 80px;
  }
  .block.docs .item.col3:nth-of-type(3n), .block.news .item.col3:nth-of-type(3n) {
    width: 31.66667%;
    float: left;
    margin-left: 0.83333%;
    margin-right: 0.83333%;
    clear: none;
  }
  .block.docs .item.col3:nth-of-type(3n) .image, .block.news .item.col3:nth-of-type(3n) .image {
    text-align: center;
    width: 100%;
    float: none;
  }
  .block.docs .item.col2, .block.news .item.col2 {
    width: 48.33333%;
    float: left;
    margin-left: 0.83333%;
    margin-right: 0.83333%;
  }
  .block.docs .item.col3, .block.news .item.col3 {
    width: 31.66667%;
    float: left;
    margin-left: 0.83333%;
    margin-right: 0.83333%;
  }
  .block.docs .text-right, .block.news .text-right {
    text-align: right;
  }

  footer p {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
