/* MS úprava - http://msdn.microsoft.com/en-gb/library/ie/hh869615%28v=vs.85%29.aspx */
@-ms-viewport{
	width:device-width;
} 

.headerfoto {
  height: 186px;
    background-size: 100%;
   background-image: url(slider/11.jpg);
    background-repeat: no-repeat;
   background-position: 0px 0;
    position: relative;
	margin-top: 185px;
}
/* -------------------- max.rozlišení pod 1300 px ---------------- */

@media only screen and (max-width: 1299px) {
	
.headerfoto {
   
	background-position: center;
}

}
/* -------------------- max.rozlišení pod 1100 px ---------------- */

@media only screen and (max-width: 1100px) {


}

/* -------------------- max.rozlišení pod 1023 px ---------------- */

@media only screen and (max-width: 923px) {
.headerfoto {
    height: 200px;
   
    background-image: url("slider/header2.jpg");
   
	margin-top: 51px;
	 background-size: cover;
	
}

/* -------------------- max.rozlišení pod 720 px ---------------- */

@media only screen and (max-width: 800px) {

	
	}

/* -------------------- max.rozlišení pod 480 px ---------------- */
/* treba iPhone7Plus má 414, iPhone6 a 7 375 */

@media only screen and (max-width: 480px) {

.headerfoto {
    background-image: url("images/ndmob.gif"), url("slider/header3.jpg");
}
	}
	
	
/* -------------------- max.rozlišení pod 390 px - ic kt --------------------------------------------------------------- */

@media only screen and (max-width: 390px) {



#portmain .firstlink {
   
    width: 49.9%;
   
}
#portmain .firstlink:nth-child(2n) {
   background-color: #3f8327;
}
#portmain .firstlink:nth-child(4n+2) {
  background-color: #1d7ab1;
}
#portmain .firstlink:nth-child(4n+3) {
  background-color: #1d7ab1;
}


/* end */
	
}	
	
	

/* -------------------- max.rozlišení pod 360 px --------------------------------------------------------------- */
/* treba LG G3 a Samsungy mají 360, iPhone5 320 */

@media only screen and (max-width: 360px) {


#header #logo a {
   
    background-size: contain;
    background-position: 0px 7px;
	overflow: hidden;
}


/* end */
	
}

/* -------------------- max.rozlišení pod 320 px ---------------- */
/* treba iPhone5 má 320 */

@media only screen and (max-width: 310px) {


#mobnav #rsmenu01 #menu-button {
    
    font-size: 0px;
   
}

}
