@media screen and (max-width: 360px) {
body #bgmenumobile{
background-position: left !important;
}

#tabtolle td{
	display:block;
	width:100%;
}
#commentsbox2 td{
	width:100%;
}
}

@media screen and (max-width: 480px) {
#maintab{
	width:100%;
}
}


@media screen and (max-width: 550px) {
#komentarzetab{
	width: 95%;
display: block;
	
}	
#tabtolle table{
	width:100%;
}
#tabtolle{
	width:100%;
}

#boxform{
	width:95%
}
#boxform textarea{
	width:100%;
}
#komentarzetab2{
	width: 95%;
display: block;
	
	
	}
#footer4 a{
display: block;
font-size: 14px;
}
#tabcontentmain{
}
#tabcontentmain td{
  display: block;
  width: 100%;
}
}
@media screen and (max-width: 650px) {
	#commentsbox1{
	width:100%;
	display:block;
}
#commentsbox2{
	width:100%;
	display:block;
}
#commentsbox3{
	width:100%;
	display:block;
}
#commentsbox4{
	width:100%;
	display:block;
}
#commentsbox5{
	width:100%;
	display:block;
}
#commentsbox6{
	width:100%;
	display:block;
}
#commentsbox7{
	width:100%;
	display:block;
}
#commentsbox7 textarea{
	width:100%;
}

}
@media screen and (max-width: 800px) {
#maintab img{
max-width: 100%;
height: auto;
width: auto;
}
#tabcontentmain ul{
  padding: 20px 0px;
  list-style: none;
  margin: 0px;
}
#tabcontentmain ul li{
}
#tabcontentmain ul li a{
  display: block;
  padding: 10px 0px;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
}

#reklamabox1{
}
#reklamabox1 td{
display: block;
margin: 30px 0px;
}
}

@media screen and (max-width: 990px) {

#maintableft{
display:none !important;
}

body{
margin:0px;
}
#reklamatopbox{
display: none;
}
#footer1 {
    display: block;
    text-align: center;
    width: 99%;
	  padding: 0px 0px;
}
#footer3 {
    display: block;
    text-align: center;
    width: 99%;
}
#footer4{
  width: 100%;
  display: block;
  padding: 0px 0px;
  background: #fff;
}
#footer1 td:nth-child(1){
display:none;
}
#footer1 td:nth-child(2){
display:block;
width: 100%;
margin: 0 auto;
}
#footer1 tbody{
  display: block;
  width: 100%;
}
#footer1 tr{
display: block;
  width: 100%;

}
#footer1 td:nth-child(3){
display:none;
}
#footer2{
  width: 98%;
  display: block;
  margin: 0 auto;
  padding: 0px;
}
#footer2 tbody{
  width: 100%;
  display: block;
}
#footer2 tr td{
  width: 100%;
  display: block;
}
#footer2 td{
}
#footer2 tr{
  width: 100%;
  display: block;
}
#footer3{
}
#mobilebutton{
display:block !important;
}
#bgmenu{
display:none;
}
#linkmapa{
display:none;
}
#bgmenumobile{
display:block !important;
}
#maintableft{
  background: #fff;
  display: block;
  margin: 50px auto;
  text-align: center;
}
#maintabcenter{
  display: block;
  width: 90% !important;
  padding: 5%;
}
#maintabright{
  background: green;
  display: none;
  margin: 50px auto;
}
}







#bgmenumobile{

  height: 90px;
  background: red;
  width: 100%;
  background-position: center center !important;
  background-repeat: no-repeat;
  max-width: 960px;
  border-top: 1px solid #ebb73a;
  background-repeat: no-repeat !important;
  background-color: #fff5d0 !important;
  display:none;
}
#menumobile{
  display: block;
  background: #213f70;
  position: fixed;
  right: -295px;
  top: 0;
  bottom: 0;
  padding: 30px 0px;
  width: 250px;
  transition: all 0.3s ease;
}
#menumobile.active{
  right: 0;
}
#menumobile ul{
  text-align: left;
  list-style: none;
  margin: 0px;
  padding: 0px;
}
#menumobile ul li{
}
#menumobile ul li a{
  color: #fff;
  font-family: verdana;
  padding: 10px 30px;
  display: block;
  border-bottom: 1px solid #4c79bf;
  font-size: 13px;
}
#menumobile ul li a:hover{
  background: #142c53;
  text-decoration: none;
}


#mobilebutton{
display:none;
  background: #142c53;
  border: 0px;
  height: 55px;
  width: 55px;
  position: fixed;
  right: 5%;
  padding-top: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
top: 18px;
}
#mobilebutton.active{
  right: 250px;
}

#mobilebutton span{
  width: 38px;
  height: 5px;
  background: #fff;
  display: block;
  margin-bottom: 5px;
}
#mobilebutton span:nth-child(1){
}
#mobilebutton span:nth-child(2){
}
#mobilebutton span:nth-child(3){
}


@media screen and (max-width: 1024px) {
}