#podbody:not(.pgkt-ur) .headerfoto {
  height: 145px;
  background-position: 0px 0px;
  background-image: url(slider/pruh_urad3.webp);
  
  
}

.headerfoto {
 
  height: 90px;
    background-size: 100%;
   background-image: url(slider/rad_500_02.jpg);
    background-repeat: no-repeat;
    /*background-position: 0px -45px;*/
    position: relative;
    margin-top: 138px;
  background-size: cover;
}


@media only screen and (min-width: 500.99px) {

.headerfoto {
    
    background-image: url("slider/rad_923_03.jpg");
    /*background-position: center -50px;*/
    /*background-size: auto;*/
    height: 200px;
}

}

@media only screen and (min-width: 923.99px) {

  .headerfoto {
      
    background-image: url(slider/header.webp);
      /*background-position: center -50px;*/
      /*background-size: auto;*/
      height: 290px;
  }
  
  }



/*.headerfoto {
  height: 186px;
  height: 290px;
    background-size: 100%;
   background-image: url(slider/11.jpg);
    background-repeat: no-repeat;
    background-position: 0px -45px;
    position: relative;
    margin-top: 138px;
  background-size: cover;
}*/



/* -------------------- max.rozli�en� pod 1300 px ---------------- */

@media only screen and (max-width: 1299px) {
	
/*.headerfoto {
   background-image: url(slider/header1.jpg);
	background-position: center;
  
}*/

}


/* -------------------- max. 923 px ---------------- */

@media only screen and (max-width: 923px) {

.headerfoto {
    height: 200px;
   
   /* background-image: url("slider/header2.jpg");*/
   
	margin-top: 10px;
	 background-size: cover;
   background-position: 0px bottom;
}

#podbody:not(.pgkt-ur) .headerfoto {
  
  /*background-position: 0px bottom;*/
  background-image: none;
  height: auto;
  min-height: 10px;
  background-color: silver;
}

}

/* -------------------- max. 800 px ---------------- */

@media only screen and (max-width: 800px) {

	
}

/* -------------------- max. 500 px ---------------- */
/* treba iPhone7Plus m� 414, iPhone6 a 7 375 */

@media only screen and (max-width: 500px) {

.headerfoto {
    background-image: url("images/spacer.gif"), url("slider/header3.jpg");
    background-image: url("images/spacer.gif"), url("slider/header5.jpg");
    background-position: center -50px;
    background-size: auto;
    height: 90px;
}

.or_povinne {
    float: none;
    margin-bottom: 10px;
}

#Adresa {
    float: none;
    border-left: none;
    padding: 0;
    margin-left: 0;
    margin-bottom: 20px;
}

.or_povinne, #Adresa, #Kontakty .oradek, #UredniHodiny, #PracovniDoba, #UdajeOrganizace, .or_povinne

 {
    float: none;
    border-left: none;
    padding: 0;
    margin-left: 0;
   
	width: 100%;
}

#port-middle div#UdajeOrganizace h4 {
    margin-top: 0px;
}

#port-middle #Kontakty h4 {
   
    margin-top: 20px;
}

#Kontakty .oradek, .or_povinne
 {
   padding: 5px 8px 9px;
   box-sizing:border-box;
}

#Kontakty .oradek + .oradek
 {
   padding-top: 0px;
   
}

}


/* -------------------- max. 422 px --------------------------------------------------------------- */

@media only screen and (max-width: 422px) {

#Kontakty table {
  
	border: none;
	border-top: solid 1px #d7d7d7;
}

#Kontakty table tr  {
  
	display: block;
	border-bottom: solid 1px #d7d7d7;
}

#Kontakty table tr td  {
  
	display: inline-block;
width: auto;
border: none !important;
}

#Kontakty table tr:nth-child(2) td:nth-child(3), #Kontakty table tr:nth-child(3) td:nth-child(3), #Kontakty table tr:nth-child(4) td:nth-child(3),  #Kontakty table tr:nth-child(5) td:nth-child(3) {
  
	display:block;
	text-align: right;
padding-top: 0px;

}

#Kontakty table tr:nth-child(1) td:nth-child(3), #Kontakty table tr:nth-child(6) td:nth-child(3), #Kontakty table tr:nth-child(7) td:nth-child(3) {
  
	float: right;
	padding-right: 0;

}

#Kontakty table tr td:nth-child(2)  {
  
	float: right;

}


#Kontakty table tr th  {
  
	display: inline-block;
width: auto;
border: none !important;
}

	
}	




/* -------------------- max. 360 px --------------------------------------------------------------- */
/* treba LG G3 a Samsungy 360 */

@media only screen and (max-width: 360px) {


}


/* -------------------- max. 320 px ---------------- */
/* treba iPhone5  */

@media only screen and (max-width: 320px) {



#topblesk {
    column-count: 1;
    
}

#Kontakty table {

}


#Kontakty table tr  {
  
	display: block;
	border-bottom: solid 1px #d7d7d7;
}

#Kontakty table tr td  {
  
	display: inline-block;
width: auto;
border: none !important;
}
#Kontakty table tr th  {
  
	display: inline-block;
width: auto;
border: none !important;
}


}