body {
margin: 0 auto;
color: #5f5f5f;
font-family: Arial;
font-size: 12px;
background: #fcfcfc url(../images/bg.jpg) no-repeat center top;
}

.clear {
clear: both;
}

.danekontakt {
  text-align: center; margin-bottom: 10px; margin-top: 7px;
}

.wrapper {
width: 960px;
margin: 0 auto;
position: relative;
}

.opt_h1 {
  color: #b11b34;
  font-size: 16px;
}

a img {
border: none;
}

a {
outline: none;
color: #ad1a34;
}

.clear {
clear:both;
}

.left {
float: left;
}

.right {
float: right;
}

.bold {
font-weight: bold;
}

.center {
text-align: center;
}

.red{
color: #b11b34;
}

#header {
height: 520px;
position:relative;
}

h3#title, h1#title{
color: #b11b34;
text-transform: uppercase;
font-size: 23px;
margin: 20px 0 10px 0;
font-weight: normal;
}


#boxes h6, #content h6 {
color: #b11b34;
text-transform: uppercase;
font-size: 23px;
margin: 20px 0 10px 0;
font-weight: normal;
}


#pathway {
position:absolute;
bottom: 3px;
left:0;
}

#pathway.down {
position: static!important;
margin-top: 10px;
}

#pathway a {
color: #5f5f5f;
text-decoration: none;
}

#pathway a.act {
color: #b11b34;
}

#menu {
position:absolute;
right: 0px;
top: 85px;
}

#menu ul {
margin: 0;
padding:0;
list-style: none;
}

#menu ul li {
float: left;
margin-left: 20px;
}

#menu ul li a {
float: left;
color: #5d5d5d;
text-decoration: none;
font-size: 15px;
font-weight: bold;
}

#menu ul li:first-of-type  a, .jazda{
color: #ea082d!important;
}

#menu ul li a:hover {
color: #b11b34
}

#search {
background: url(../images/search.png);
width: 254px;
height: 34px;
position: absolute;
right: 0;
top: 24px;
}

#logo {
position:absolute;
top: 24px;
left:0;
}

#slider-main {
position: relative;
margin-top: 120px;
float: left;
}

#slider {
overflow: hidden;
}

#text {
width: 640px;
float: right;
min-height: 100px;
line-height: 17px;
}

#text ul {
list-style: url(../images/ul.png);
}

.gal {
float: left;
width: 305px;
min-height: 100px;
}

.slider-box {
width: 247px;
float: right;
height: 277px;
background: url(../images/box-slider.png);
margin: 33px 39px 0 0;
padding:10px 20px;
text-align: justify;
line-height: 17px;
}

.slider-box h3 {
color: #b11b34;
font-size: 21px;
margin: 4px 0 15px 0;
}

.slider-box a {
color: #b11b34;
text-decoration: none;
float:right;
clear:both;
text-align: justify;
font-size: 14px;
font-weight: bold;
}

#content {
width: 960px;
margin: 0 auto;
}

#nav-main{
width: 960px;
text-align: center;
position:absolute;
bottom:10px;
z-index:999;
}

#nav {
display: inline-block;
list-style: none;
margin:0;
padding:0;
}

#nav li {
float: left;
}

#nav a {
width: 19px;
height: 20px;
background: url(../images/in.png);
display: block;
float: left;
margin: 0 3px;
text-indent: -9999px;
}

#nav li.activeSlide  a{
background: url(../images/act.png);
}


#search input[type="text"] {
width: 160px;
margin: 8px 0 0 57px;
border: none;
outline: none;
font-size: 11px;
}

#search input[type="submit"] {
background: none;
border: none;
float: right;
width: 33px;
height: 30px;
text-indent: -9999px;
cursor: pointer;
}

.slide {
width: 960px;
height: 360px;
z-index: 999 !important;
}

#boxes {
width: 970px;
margin: 0 auto;
}

.box {
width: 283px;
padding: 10px 20px;
height: 248px;
float: left;
background: url(../images/box.png);
cursor: pointer;
}

.box.off {
width: 283px;
padding: 10px 20px;
height: 245px;
float: left;
background: url(../images/box2.png);
font-size: 12px;
position:relative;
}

.all {
position: absolute;
width: 304px;
height: 252px;
left: 9px;
top: 1px;
z-index: 10;
}

.box h3, .box h2 {
color: #b11b34;
margin: 10px 0 10px 0;
font-size: 14px;
}

.box a {
color: #b11b34;
text-decoration: none;
}

#footer {
background: #6c6c6c;
width: 100%;
padding-top: 8px;
height: 45px;
color: #fff;
font-size: 11px;
position:relative;
float:left;
}

#footer p {
margin:0;
}

#footer a {
color: #fff;
}

#footer-top {
margin-top: 30px;
padding-top:17px;
background: #5b5b5b;
height: 33px;
width: 100%;
}

#footer-top ul {
list-style: none;
margin:0;
padding:0;
float: left;
}

#footer-top ul li {
float: left;
margin-right: 15px;
}

#footer-top ul li a {
float: left;
color: #fff;
text-decoration: none;
}

#footer-top ul li a:hover {
color: #b11b34;
}

#footer-top a.up {
float: right;
width: 22px;
height: 21px;
background: url(../images/up.png);
margin-top: -4px;
}

#logos {
width: 974px;
height: 87px;
margin: 20px auto;
background: url(../images/logos.png);
}

#slider-menu {
position:absolute;
left:0;
top:0;
}

#slider-menu ul {
list-style: none;
margin: 12px 0 0 0;
padding:0;
}

#slider-menu ul li {

}

#slider-menu ul li a {
color: #363636;
text-decoration: none;
display:block;
width: 256px;
height: 42px;
background: url(../images/menu-slider.png);
line-height: 42px;
vertical-align: middle;
padding: 0 15px;
font-weight: bold;
font-size: 12px
}

#slider-menu ul li a:hover {
color: #b11b34
}

.image {
width: 295px;
height: 320px;
}

.image img {
border: 4px solid #fff;
border-radius: 5px;
}

.slides {
width: 303px;
height: 303px;
}

#caption {
text-align: center;
font-weight: bold;
font-style: italic;
}

#opis {
padding:5px 0;
min-height: 10px;
text-align: center;
}

.boxtable {
padding: 10px 17px;
height: 280px;
float: left;
background: url(../images/box2.png);
font-size: 12px;
cursor: pointer;
}

.boxtable h3, .boxtable h2 {
font-size: 14px;
}

#contactform {
width: 100%;
}

#contactform .left {
width: 250px;
float: left;
}

#contactform .left input[type="text"] {
width: 240px;
padding:3px;
border:1px solid #ccc;
margin: 0 0 3px 0;
height: 23px;
line-height: 23px;
}

#contactform .right {
width: 600px;
float: left;
margin-left:10px;
}

#contactform .right textarea {
width: 550px;
padding: 3px;
border: 1px solid #ccc;
margin: 0;
height: 121px;
resize: none;
}

#contactform input[type="text"], #contactform textarea {
font: 12px Arial;
}

#contactform input[type="submit"], #newsletter input[type="submit"] {
background: rgb(173, 26, 52);
color: #fff;
border: none;
padding: 5px 30px;
margin: 3px 0 0 0;
cursor: pointer;
}

#newsletter {
float: right;
color: rgb(173, 26, 52);
font-size: 18px;
font-weight: bold;
}

#newsletter input[type="text"] {
height: 20px;
line-height: 20px;
}


.slicknav_menu {
	display: none;
}
#footer_middle{
background-color: rgb(91, 91, 91); 
}

#tabs ul{
list-style-type: none;
}

#tabs a{
text-decoration:none;
color:inherit;
}

/*social buttons*/


.social{width:300px;
height:300px;

}
#facebook{position:fixed; top:40px; left:-300px;background:#3A5795;-webkit-transition: left 0.5s; /* Safari */
    transition: left 0.5s;z-index:9999;}
#facebook .overlap{background:#3A5795}

#jazda-probna{position:fixed; top:142px; left:-300px;background:#3A5795;-webkit-transition: left 0.5s; /* Safari */
    transition: left 0.5s;z-index:9998;}
#jazda-probna .overlap{background:#3A5795}

	
#gplus{position:fixed; top:346px; left:-300px;background:#fff;-webkit-transition: left 0.5s; /* Safari */
    transition: left 0.5s;z-index:9997;}
	
#gplus .overlap{background:#F63E28}

	
#youtube{position:fixed; top:244px; left:-300px;background:#fff;-webkit-transition: left 0.5s; /* Safari */
    transition: left 0.5s; height:100px;z-index:9996}

#youtube .overlap{background:#EE1C1B}
	
	
.overlap{position: absolute;
right: -60px;
width: 100px;
height: 20px;
-ms-transform: rotate(90deg);
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
background: blue;
top: 40px;
border-radius: 0 0 14px 14px ;}

.overlap p{text-align:center; color:#fff; margin:0}

#jazda-probna:hover, #facebook:hover, #youtube:hover, #gplus:hover {left:0}

/*social button end*/


@media screen and (max-width: 1023px) {
	
#facebook {
    position: absolute;
top: 210px;}

#jazda-probna {
    position: absolute;
top: 312px;}

#gplus{position:absolute; top:514px;}

#youtube{position:absolute; top:414px;}

.textbaner{
height: auto;
background-color: #FFF;
position: absolute;
top: 300px;
padding: 8px;
}

#slider{
height: 575px!important;
}

#mycookie{

height:auto!important;
}
#mycookie div{
width:100%!important;


}
#mycookie p{
padding-left: 10px;
width:80%!important;
}
#close{
margin-right:5px!important;

}


#slider-menu {
	left: 10px;
    z-index: 999;
}
#search {

    left: 5px;
}
#logo {

    left: 5px;
	right:5px;
}
#menu {
		display:none;
	}
.slicknav_menu {
		display:block;

	}
.wrapper {
    width: 100%;
   }
	
body {

    background: none;
	background-color: #F1F1F1;
}
#slider ,#slider-main, .slide , .slide img, #logos{
    width: 100%!important;
	height:auto;
}
.jcarousel-skin-tango .jcarousel-container-horizontal{
width:90%!important;
}
#logos{
    width: 100%!important;
	height:auto;
	background:none;
}
.slide table{
	width: 100%!important;
	background-size: 100% auto!important;
	background-repeat: no-repeat!important;
	display:block;
	
	}
.slide table td{
display:block;
width: 100%!important;
box-sizing: border-box;
padding: 5px;

}
.textbaner p, .textbaner div{padding:0 10px}
#nav-main {

    display: block;
    width: 100%;
    position: absolute;
    top: 10px;
    height: 20px;
}
#boxes {
    width: 95%;
text-align:center;
padding: 5px;
box-sizing: border-box;
}
.box, .box.off {
 display:inline-block;
 float:none;
 
}
#search {
    position: relative!important;
    top: 100px!important;
}
	#pathway {
    display:none;
}
#content {
    width: 100%;
    margin: 0px auto;
}
#text {
width: 100%;
float: left;
box-sizing: border-box;
padding: 5px;   
}
.gal {
    float: none;
    width: 305px;
    min-height: 100px;
    margin: 0 auto;
}
.image {
    height: 240px;
}
h3#title {

    text-align: center;
}


#boxes tr,#boxes td {
width:100%!important;
display:block!important;
}
#boxes table {
width:100%!important;
}
#boxes h2{
margin-top:0 !important;


}

#contactform .left {
    float: none;
    margin: 0 auto;
}
#contactform .right {

    float: none;
    margin: 0 auto;
}
#footer-top ul{
    padding-left: 5px;
	width:95%;
}
#footer{
height: auto;
}
#footer p {

   
	padding-left:5px;
	padding-right:5px;

}
#footer-top a.up {

    margin-right: 5px;
}
#newsletter {

    top: 60px;
    position: relative;
}
.boxtable {
    text-align: center;
    float: none;
	text-align: center;
	width: 95%;
    background-size: 100% auto;
	height: auto;
	
}
.boxtable div, .boxtable h3 {
    text-align: center!important;
    
	
}
#content h2{
padding-left:5px;
}

}
@media screen and (max-width: 790px) {
.textbaner{

top: 250px;

}

#slider{
height: 525px!important;
}

}
@media screen and (max-width: 690px) {
.textbaner{

top: 200px;

}

#slider{
height: 475px!important;
}
.box{

width: 95%;
background-size: 100% auto;


}
@media screen and (max-width: 680px) {
.ui-tabs-panel li{
width:50%;

}
#text img{
width:100%;
height:auto;


}




}
@media screen and (max-width: 580px) {

#contactform .right,#contactform .right textarea {
    width: 100%;

}
#newsletter {
    top: 90px;

}

}
@media screen and (max-width: 450px) {
.ui-tabs-panel li{
width:100%;

}
.textbaner{

top: 100px;

}

#slider{
height: 375px!important;
}


#boxes iframe {
width:100%!important;

}
}
@media screen and (max-width: 320px) {

#search{

background-size: 100% auto;
width: 95%;
background-repeat: no-repeat;}
#search input[type="text"] {
    width: 60%;
}
.box ,.box.off{
background-image: none!important;
	background-color: white!important;
width:90%;
padding: 10px 0px;
height: auto;
}

.box img,.box.off img {
width:90%;
height:auto;
}

#logo img {
width:100%;
height:auto;
}
#nav a, .activeSlide a {
    width: 15px;
    height: 15px;
    display: block;
    float: left;
    margin: 0px 3px;
    background-size: 100% 100%!important;
}
#boxes h6 {
    
    margin-bottom: 40px;
    
}
#newsletter {
    top: 130px;
}

}

@media screen and (max-width: 200px) {

#search input[type="text"] {
    margin: 3px 40px 0px 40px;}


}
