


*{
 box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	scroll-behavior: smooth;
    
}

/* 
button pro smer nahoru
*/
#myBtn {
	display: none;
	position: fixed;
	bottom: 15px;
	right: 15px;
	z-index: 99;
	font-size: 18px;
	border: none;
	outline: none;
	background-color: var(--color-up-button-background);
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 4px;
	width: 70px;
	height: 70px;
	border-radius: var(--main-radius);
}

.topicon{
    width: 35px;
}

#myBtn:hover {
    background-color: var(--color-up-button-background-hover);
}
#myBtn:active {
	background-color: var(--color-up-button-background);
}  
/* 
button pro smer nahoru
*/

  
.container{
	width: 100%;
	/*min-height: 100vh;*/
	padding-left: 0%;
	padding-right: 0%;
	box-sizing: border-box;
	overflow: hidden;
	font-family: sans-serif;
	font-size: 16px;
	/*font-family: Calibri,Oswald,Corbel,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif; */
	/*font-family: 'Source Sans Pro', sans-serif;*/
    /*font-family: 'Roboto Condensed', sans-serif;*/
	/*font-family: 'Oswald', sans-serif;*/
	font-family: 'Roboto Condensed', sans-serif;
}	
.main{
	margin-left: 7px;
	margin-right: 7px;
	margin: 0.5rem auto;
	max-width: 70rem;
	margin-top: 85px;
}

.home_main_div{
	position:absolute;
    right:0px;
    left:0px;
	bottom: 0px;
	top: 70px;
    background-image: url("images/pozadib.jpg");
	/*background-size: 1400px;*/
	background-position: center center;
	-webkit-background-size: cover;
	background-size: cover;
}	

.footer{
	width: 100%;
	height: 50px;
	margin-top: 150px;
	background: var(--color-footer);
}


/*
GRID
grid-template-columns - define size of each column
grid-template-rows - define size of each row
grid-template-areas - specify the different areas within grid layout
*/

/*----------------------------------------------------------------------------------------------------------------------------
zde stylovani jednotlivych prku GRIDU
background: #fff;
----------------------------------------------------------------------------------------------------------------------------*/
.navbar{
	width: 100%;
    background: var(--color-upper-stripe);
	display: flex; /* prvky je zobrazi vodorovne a ne podsebou*/
	align-items: center;  /* centrovano vertikalne na stred DIV*/
	position: fixed;
	top: 0px;
	left: 0px;
	height: var(--navbar-height);
	z-index: 2;
	transition: transform 0.5s;
}
.navbar--hidden{
	transform: translateY(calc(-1 * var(--navbar-height)));
}

.footertext{
	color: var(--color-footer-text);
	padding-top: 15px;
	text-align: center;
	font-size: 15px;
	font-weight: 100;
	/*font-style: italic;*/
}

/*----------------------------------------------------------------------------------------------------------------------------
stylovani NAVBAR - NAV - jednotlive prvky
----------------------------------------------------------------------------------------------------------------------------*/
nav{
	flex: 1;
	text-align: right;   /* prvky se zarovnaji doprava */
}
.uslogo{
	height: 50px;
	margin: 10px 0;
	padding-left: 15px;
	padding-right: 15px;
	display: block;          /* aby tam nebyl pruh pod linkem*/
	position: relative;
}
.headerlogo{
    height: 70px;
	background-color: transparent;
}

.headermenu{
	height: 30px;
	width: 40px;
	margin: 0;
	margin-right: 10px;
}
.menu-icon{
	height: 30px;
	cursor: pointer;
	display: block;
}

/*
.headerlogo{
	position: relative;
	top: 0px;
	height: 50px;
}
*/

.headerflag{
	height: 30px;
	width: 50px;
	margin-right: 65px;
	margin-left: 15px;
	text-align: center;
	background-color: var(--color-upper-stripe);
	display: flex;
}

.headerflag a:hover, a:active {
    background-color: var(--color-upper-stripe);
}

.flagimage{
	height: 30px;
	cursor: pointer;
	align-items: center;
	margin-right: 10px;
	display: block;
}

.videoframe{
   	
   width : 300px;
}

/*----------------------------------------------------------------------------------------------------------------------------
stylovani NAV - prvky menu
----------------------------------------------------------------------------------------------------------------------------*/

nav ul{
	list-style-type: none;
	width: 300px;          /* sirka menu v pomeru k obrazovce */
	background: var(--color-main-menu-background);  /* barevny prechod na pozadi */
	position: absolute;  /*  aby bylo menu v presnych pozicich dane top, right */
	right: 1px;
	margin-top: 35px;
	padding: 0;          /* položky menu jsou pak podbarvené v celém řádku.  a:hover */   
	z-index: 2;          /* menu bude nahore - vetsi cislo - vice nahore */   
	border-radius: var(--main-radius);  /* zaobleni rohu */
	font-size: 20px;
	font-weight: normal;
}

li a {
	display: block;
	color: var(--color-main-menu-foreground);
	padding: 8px 16px;
	text-decoration: none;
 }
li a:hover{
	color: var(--color-main-menu-foreground);
	background-color: var(--color-main-menu-background-hover);
}


#menuList{           /* animace rozbalovani menu */
	overflow: hidden;
	transition: 0.5s;
}

/*----------------------------------------------------------------------------------------------------------------------------
styl detailu aplikace
----------------------------------------------------------------------------------------------------------------------------*/
/*
.appcontainer{
	background: #fff;
}
*/

.appheader{
    display: flex;
	align-items: center;
	padding-left: 1rem;
	padding-right: 1rem;
}
.appheader-centered{
    margin: 0.5rem auto;
	max-width: 70rem;
	display: flex;
	/*text-align: center;*/
}
.headerappfont{
	font-size: 40px;
	color: var(--color-page-title-color);
	font-weight: 700;
}
.applogo{
	width: 100px;
	border-radius: var(--main-radius);
	border: 0.5px solid var(--color-page-logo-border);
	margin-right: 10px;
}
.pdfappfont{
	margin-top: 30px;
	margin-bottom: 20px;
	font-size: 25px;
	color: var(--color-page-title-color);
	font-weight: 700;
}
.appnotes{
	padding-left: 1rem;
	text-align: left;
	padding-bottom: 1rem;
	padding-right: 1rem;
}
.appnotes a:link{
	color: var(--color-page-about-notes-link);
	background-color: white;
	text-decoration: none;
}
.appnotes a:visited{
	color: var(--color-page-about-notes-link);
	background-color: white;
	text-decoration: none;
}


.gridpict {
	/**/
	width: 100%;
	padding-bottom: 20px;
	padding-left: 20px;	
	padding-right: 20px;	
	padding-top: 15px;
	max-width: 70rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* 300px sirka karty  - dynamicky se meni...*/
    gap: 1rem;
}
.pictcard {
	height: auto;
	padding: 16px;
	text-align: center;
	border-radius: var(--main-radius);
	border: 0.5px solid var(--color-card-pict-border);
	width: 250px;
	margin: 0 auto;
}
/* dulezite, aby kolem obrazku nebyly lajny  */
.gridpict a:active{
	background-color: transparent ;
	outline:none;
}
.gridpict a:focus{
	background-color: transparent ;
	outline:none;
}
.gridpict a:visited{
	outline:none;
}
/* dulezite, aby kolem obrazku nebyly lajny  */

.picture_size{  /* css pro obrazek */
	width: 200px;
	margin: 5px 5px 5px 5px;
}	
.picture_header{
	height: 40px;
	text-align: center;
}
.picture_header_font{
	font-size: 25px;
	font-weight: 700;
	padding-left: 0px;
	color: var(--color-card-pict-title-color);
}
.picture_notes{
	text-align: left;
	position: relative;
}

.gridvideo {
	/**/
	width: 100%;
	padding-bottom: 20px;
	padding-left: 20px;	
	padding-right: 20px;	
	padding-top: 15px;
	max-width: 70rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); /* 300px sirka karty  - dynamicky se meni...*/
    gap: 1rem;
}
.video_card {
	height: auto;
	padding: 16px;
	text-align: center;
    width: 500px;
	margin: 0 auto;
}

.video_size {
	height: 282px;
	/*padding: 16px;*/
	width: 500px;
	margin: 0 auto;
}
.video_notes{
	padding-left: 15px;
	padding-right: 15px;
	text-align: left;
	position: relative;
}


/*----------------------------------------------------------------------------------------------------------------------------
about me - styly
----------------------------------------------------------------------------------------------------------------------------*/
.about_main_div{
	border: 0.5px solid var(--color-page-about-border);
	border-radius: var(--main-radius);
	height: auto;
	display: flex;
	flex-wrap:wrap;
	position: relative;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 10px;
	z-index: 1;
}
.about_column_block_img{
	height: 150px;
	width : 150px;
	margin-top: 25px;
	margin-left: 15px;
	margin-right: 15px;
}
.about_column_block_notes {
	height: auto;
	width : 880px;
	margin-bottom: 25px;
	margin-top: 25px;
	margin-left: 15px;
	margin-right: 10px;
	position: relative;
}
/*  pro link unisteny v NOTES */
.about_column_block_notes a:link{
	color: var(--color-page-about-notes-link);
	background-color: white;
	text-decoration: none;
}
.about_column_block_notes a:visited{
	color: var(--color-page-about-notes-link);
	background-color: white;
	text-decoration: none;
}
.about_image{
	width: 150px;
	border-radius: 50%;
}
.about_image_signature_block{
	right: 50px;
	bottom: 0px;
	position: absolute;
}
.about_image_signature{
	width: 150px;
}

/*----------------------------------------------------------------------------------------------------------------------------
styl karet aplikaci
----------------------------------------------------------------------------------------------------------------------------*/
.grid {
	/**/
	width: 100%;
	padding-bottom: 20px;
	padding-left: 20px;	
	padding-right: 20px;	
	padding-top: 15px;
	max-width: 70rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); /* 300px sirka karty  - dynamicky se meni...*/
    gap: 1rem;
}


/* Style the counter cards */
.appcard {
	height: auto;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	padding: 16px;
	text-align: center;  /* centruje obrazek na stred*/
	background-color: var(--color-card-background);
	border-radius: var(--main-radius);
	width: 330px;
	margin: 0 auto;   /* karty na stred */
	position: relative;
}

.appcardkolaz{
   border: 0;	
   padding-top: 10px;
}
.appcardkolazpicture{
   width: 70%;
}
.appcardheader{
	display: flex;
	align-items: center;
	height: 60px;
}
.appcardheaderfont{
	font-size: 25px;
	font-weight: 700;
	padding-left: 0px;
	color: var(--color-page-title-color);
}  
.appcardlogo{
	width: 60px;
	border-radius: var(--second-radius);
	margin-right: 10px;
}
.appcardnotes{
	text-align: left;
	padding-bottom: 1rem;
	padding-top: 1rem;
	position: relative;
}
.appcardfooter{
	margin: 0 auto;
}
.appcardfooter a:link, a:visited {
	width: 140px;
	color: var(--color-card-link-foreground);
	background-color: var(--color-card-link-background);
	border: 0;
	padding: 10px 10px;   /* padding nahore a dole */
	text-align: center;
	text-decoration: none; /* podtrzeni textu NE */
	display: inline-block;
	border-radius: var(--button-radius);
	cursor: pointer;
	outline: none;
}
  
.appcardfooter a:hover, a:active {
	background-color: var(--color-card-link-background--hover) ;	
}
.appcardfooter a:focus {
	background-color: var(--color-card-link-background--hover) ;	
}	

/*----------------------------------------------------------------------------------------------------------------------------
stylovani verze pro mobil - pod 1235
----------------------------------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 1235px){

	.home_main_div{
		background-image: url("images/pozadi.jpg");
	}
	
	}
	
/*----------------------------------------------------------------------------------------------------------------------------
stylovani verze pro mobil - pod 800
----------------------------------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 800px){

.home_main_div{
    background-image: url("images/pozadis.jpg");
}

}
/*----------------------------------------------------------------------------------------------------------------------------
stylovani verze pro mobil - pod 750
----------------------------------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 750px){

.container{
	font-size: 18px;
 }	
    
.navbar{
	height: 60px;
}
.home_main_div{
	top: 60px;
}	
.headerlogo{
	height: 60px;
}
.uslogo{
	height: 40px;
	cursor: pointer;
	margin: 8px 0;
	padding-left: 15px;
}

#myBtn {
	width: 60px;
	height: 60px;
}
.topicon{
  width: 25px;
}
	/*----------------------------------------------------------------------------------------------------------------------------
	zobrazeni ikony menu.... byla NONE
	----------------------------------------------------------------------------------------------------------------------------*/
	.headermenu{
		height: 25px;
		width: 40px;
		margin: 0;
	}
	.menu-icon{
		height: 25px;
		cursor: pointer;
		display: block;
	}
	.flag{
		height: 25px;
		cursor: pointer;
	}
	/*----------------------------------------------------------------------------------------------------------------------------
	stylovani NAV - prvky menu - pro MOBIL - vysouvaci menu
	----------------------------------------------------------------------------------------------------------------------------*/
	nav ul{
		margin-top: 30px; /* vyse nahoru .*/
	}
	
	/*----------------------------------------------------------------------------------------------------------------------------
	styl detailu aplikace
	----------------------------------------------------------------------------------------------------------------------------*/
	.applogo{
		width: 60px;
		border-radius: var(--second-radius);
		margin-right: 10px;
	}
	.appnotes{
		font-size: 16px;
	}

	.appcardfooter a:link, a:visited {
		width: 160px;
	}	


   /*----------------------------------------------------------------------------------------------------------------------------
	video na strance
	----------------------------------------------------------------------------------------------------------------------------*/
	.gridvideo {
		grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); /* 300px sirka karty  - dynamicky se meni...*/
	}
	.video_size {
		height: 282px;
		width: 400px;
	}

}   
/*----------------------------------------------------------------------------------------------------------------------------
stylovani verze pro mobil - pod 450 - IPHONE 11 !!!!
----------------------------------------------------------------------------------------------------------------------------*/
	@media only screen and (max-width: 450px){

	.container{
		font-size: 18px;
	}	

	.navbar{
		height: 55px;
	}
	.home_main_div{
		top: 55px;
	}	

	.headerlogo{
		height: 55px;
	}

	.uslogo{
		height: 40px;
		cursor: pointer;
		margin: 6px 0;
	}
	.headermenu{
		height: 25px;
		width: 40px;
		margin: 0;
	}
	.menu-icon{
		height: 25px;
		cursor: pointer;
		display: block;
	}

	.flag{
		height: 25px;
		cursor: pointer;
	}

	#myBtn {
	  width: 50px;
	  height: 50px;
	}
	
	.topicon{
		width: 20px;
	}

	/*----------------------------------------------------------------------------------------------------------------------------
	stylovani NAV - prvky menu - pro MOBIL - vysouvaci menu
	----------------------------------------------------------------------------------------------------------------------------*/
	nav ul{
		margin-top: 27px; /* vyse nahoru .*/
	}
    /*----------------------------------------------------------------------------------------------------------------------------
	styl detailu aplikace
	----------------------------------------------------------------------------------------------------------------------------*/
	.headerappfont{
		font-size: 35px;
	}
	.applogo{
		width: 60px;
		border-radius: var(--second-radius);
		margin-right: 10px;
	}
	/*----------------------------------------------------------------------------------------------------------------------------
    video na strance
    ----------------------------------------------------------------------------------------------------------------------------*/
    .gridvideo {
	 grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* 300px sirka karty  - dynamicky se meni...*/
    }
    .video_size {
	 height: 197px;
	 width: 350px;
   }
	
	
}		
/*----------------------------------------------------------------------------------------------------------------------------
stylovani verze pro mobil - pod 450 - IPHONE 5 !!!! - karta je uz moc velka - zmensit
----------------------------------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 380px){

.grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* 300px sirka karty  - dynamicky se meni...*/
    gap: 1rem;
}

/* Style the counter cards */
.appcard {
	width: 280px;
}

/*----------------------------------------------------------------------------------------------------------------------------
video na strance
----------------------------------------------------------------------------------------------------------------------------*/
.gridvideo {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* 300px sirka karty  - dynamicky se meni...*/
}
.video_size {
	height: 169px;
	width: 300px;
}

}