html {
  height: 100%;
}
body {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #eee url(/gfx/bg.png) repeat-y center;
  color: #333;
  font-size: 14px;
  font-family: verdana;
  padding: 0;
  margin: 0;
}
.footer {
	margin-top: auto;
}
footer {
    background: #222222;
    color: #666;
    padding: 20px 10px;
    margin-top: 0px;
    font-size: 0px;
}
h1 {
	font-size: 20px;
    padding-top: 10px;
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: solid 1px;
}
.wrapper.main {
	margin-top: 40px;
	background: #fff;
}

.wrapper {
    width: 1000px;
    margin: auto;
}
nav .wrapper {
}
nav {
  border-bottom: solid 2px #d8b122;
    /* background: linear-gradient(#888, #666); */
    height: 55px;
	/*border-top: solid 1px #999;*/
	font-size: 0;
	position: fixed;
	top: 0;
	width: 100%;
    z-index: 99999999;
	background: #fff;
	text-align: right;
}
nav  a:hover {
    background: #000;
	color: #d8b122;
}
nav a.logo {
	float: left;
	display: block;
	width: 121px;
	height: 21px;
	background: url(/gfx/logo.png);
	padding: 0;
	margin-top: 16px;
	margin-left: 0;
}
nav  a {
    display: inline-block;
    height: 55px;
    line-height: 55px;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    margin-left: 18px;
}
header {
  height: 270px;
  overflow: hidden;
}
header a {
 color: #fff;
 display: block;
 text-decoration: none;
 line-height: 270px;
}
.wrapper section {
  padding: 10px;
  border-top: solid 1px #555;
}
.f3 {
  width: 33%;
  display: block;
  float: left;
  font-size: 14px;
  text-align: center;
}
.clear {
  clear: both;
}
article, aside {
  float: left;
}
article {
  width: 700px;
}
aside {
  width: 249px;
  margin-left: 10px;
  background: linear-gradient(#ccc, #fff);
  min-height: 200px;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 0px;
  padding-top: 10px;
}
.header_img img {
    max-width: 700px;
}
a {
  color: #082565;
}
a:hover {
  color: #a20d0d;
}
h2 {
    color: #000;
    font-weight: normal;
    text-decoration: none;
    border-bottom: solid 1px;
    display: block;
}
h2 a {
	color: #000;
    font-weight: normal;
    text-decoration: none;
}
.cookie {
    width: 100%;
    font-size: 10px;
    text-align: center;
    padding-top: 5px;
    background: gold;
    padding-bottom: 5px;
    margin-bottom: 0px;
}
.image img {
    max-width: 170px;
}
a.contact-form:hover {
    color: #fbd755;
    background: #000;
}
a.wulkanizacja-online:hover {
	background: #61ce61;
}
a.wulkanizacja-online {
	background: #6fff6f;
    padding: 10px;
    line-height: 20px;
    margin-bottom: 10px;
    display: block;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border: solid 1px;
}

a.contact-form {
    background: #fbd755;
    padding: 10px;
    line-height: 20px;
    margin-bottom: 10px;
    display: inline-block;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border: solid 1px;
	text-align: center;
	width: auto;
}

.article2:hover {
    background: #fafafa;
}
.article2 {
	display: block;
    width: 48%;
    float: left;
    margin-right: 1%;
    margin-left: 1%;
    border: solid 1px #dedede;
    padding: 5px;
    box-sizing: border-box;
    margin-bottom: 4%;
    min-height: 280px;
    background: #fdfdfd;
    color: #444444;
}

.article h2 {
    margin-top: 0;
    margin-bottom: 0;    
    font-size: 18px;
    border-bottom: solid 1px;
}
.article h2 a {
    color: #444444;
}
.article h2 a:hover {
	color: #000000;
}
.article_more a {
    text-align: center;
    background: #fbd755;
    padding: 7px;
    color: #000;
    text-decoration: none;
    display: block;
	font-weight: bold;
	margin: 0px 0px 30px 0px;
}
.article_more a:hover {
	background: #ddd
}
.extract_img {
	float: left;
	margin-top: 10px;
}
.extract {
    margin-left: 60px;
}
.extract_img img {
	max-width: 50px;
}
.article .price {
    height: 20px;
}
.price {
    background: #c4ffd9;
    padding: 8px;
}
.show_mobile {
	display: none;
}
@media (max-width: 1000px) {
	.show_mobile {
		display: block;
	}
	header {
		display: none;
	}
	aside {
		display: none;
	}
	.wrapper {
		width: 100%;
	}
	article {
		width: 100%;
	}
	.article {
		width: 95%;
	}
	nav {
		height: auto;
		position: initial;
		padding-top: 10px;
	}
	nav a.logo {
		float: none;
		margin-top: 0;
		margin-left: auto;
		margin-right: auto;
	}
	nav a {
		display: block;
	}
	article img {
		max-width: 100%;
		height: auto;
	}
	iframe {
		max-width: 100%;
	}
}
/** booking **/
.label {
/*    width: 220px;
    float: left;
	background: #eee;*/
    padding: 0 5px;
}
.value {
    /*margin-left: 230px;*/
    padding: 5px;
}
.initial_form .value {
	margin-left: 230px;
    padding: 5px;
}
.initial_form .label {
	width: 220px;
    float: left;
	background: #eee;
    padding: 5px;
}
.row {
    margin-bottom: 3px;
	clear: both;
}
input[type="submit"].main_submit {
	margin: 10px auto;
	width: 80%;
}
input[type="submit"].once.disabled {
    background: #fffca0ee url(/gfx/ajax-loader.gif) no-repeat 20px;
    color: #aaa;
    border: solid 1px #000;
}
input[type="submit"] {
    background: #fbd755;
    padding: 10px;
    line-height: 20px;
    margin-bottom: 10px;
    display: block;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border: solid 1px;
}
input[type="submit"]:hover {
    background: #ffcd17;
	cursor: pointer;
}
.summary {
    background: #eee;
    padding: 10px;
}
.calendar input[type="submit"] {
    width: 40px;
}
table.calendar_header {
    width: 350px;
    text-align: center;
}
table.calendar_header td {
   width: 50px;
}
table.calendar_header td.header {
   width: 250px;
}
.hour_selection input[type="submit"] {
    width: 200px;
    background: #6fff6f;
}
.hour_selection input[type="submit"]:hover {
    background: #61ce61;
}
.inactive {
    background: #fff8dd;
    padding: 10px;
    line-height: 20px;
    margin-bottom: 10px;
    display: block;
    color: #000;
    text-decoration: none;
    border: solid 1px;
    text-align: center;
}
input[type="submit"].small_submit,
.summary input[type="submit"] {
    background: none;
    border: 0;
    padding: 0;
    margin-bottom: 0;
    color: #ef2a2a;
}
.inv {
	display: none;
}
.clear {
    clear: both;
}
.legal {
    font-size: 0.7em;
    padding-top: 20px;
}
.value.error {
    background: #ffaaaa;
}
.ok {
    padding: 10px;
    background: #aaffaa;
    text-align: center;
    font-weight: bold;
}
input[type="text"] {
    width: 100%;
    border: solid 1px #666;
    padding: 2px 0;
}
textarea {
	width: 100%;
    border: solid 1px #666;
    padding: 2px 0;
	min-height: 100px;
}
input.selected-day {
    background: #ff8d00;
}
table.applicability {
    border: solid 1px;
}
table.applicability td {
    padding: 5px;
}
table.applicability td:nth-child(odd) {
    background: #e8e8e8;
	width: 30%;
    text-align: center;
}
table.applicability th {
    background: #e8e8e8;
    padding: 5px;
}
.info {
	padding: 10px;
	background: #feffdb;
	margin-bottom: 15px;
}
.online_category {
    display: inline-block;
    text-align: center;
    margin: 0 20px;
}
.online_category:hover {
	background: #eee;
}
.errormessage {
    background: #ffaaaa;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}
.nfo {
    font-size: 11px;
    font-style: italic;
}
.value select {
    width: 100%;
}
.an0 {
    background: #eee;
    margin-left: 20px;
    margin-top: 30px;
    border-radius: 10px;
    padding: 30px 10px 10px 10px;
}
.an1 {
    position: absolute;
    margin-left: -20px;
    margin-top: -40px;
    display: inline-block;
    background: gold;
    padding: 5px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
}