body {
	padding:0;
	margin:0;
}   
html, body {
	margin:0;
	text-align: left;
}
div.cl {
	clear: both;
}
#zalozka {
	position: relative;
}

#zalozka #all_cont {
	max-width: 810px;
}
#overlay_app {
	display: none;
}

#mine_cont_nahrat_pc,
#cont_nahrat .button_nahrat {
	position: relative;
	height: 75px;
	overflow: hidden;
}
#mine_cont_nahrat_pc {
	position: static;
}
#cont_nahrat img {
	position: relative;
}
#mine_cont_nahrat_pc,
#cont_nahrat #cont_nahrat_pc {
	margin-bottom: 12px;
}
/* docasne vypnuto !*/
#cont_nahrat #cont_nahrat_instagram {
	display: none;
}
#cont_nahrat #cont_nahrat_instagram img {
	top: -87px;
}	
#cont_nahrat img.hover {
	left: -271px;
}
#mine_cont_nahrat_pc .file-wrapper .button.hover,
#mine_cont_nahrat_pc .file-wrapper .button:hover,
#cont_nahrat_pc .button.hover,
#cont_nahrat_pc .button:hover {
	background-position: -271px 0;
}

/* ajax image upload - ajax-image-upload/style/style.css */

#MyUploadForm {
	margin: 0;
}
#btn_login {
	position: absolute;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 6;
}
#registrace {
	text-align: left;
}
#reg_cont_photo,
#regform {
	float: left;
/*	width: 244px; */
	-o-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
#regform {
	width: 310px;
	margin-left: 35px;
}

#hlas_done .title,
#sucess_share .title,
#regform .title {
	font-size: 220%;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0.5em;
}
#regform .title {
	text-align: left;
}
#hlas_done .txt,
#sucess_share .txt,
#regform p {
	font-size: 120%;
}
/* u jazykovych verzi nutno resit sirku buttonu */
#regform button {
/*
	width: 160px;
	height: 56px;
	background: url();
*/	
	/* nastylovat pres css shadow nejaky atc, neco jako odpocitavani */
}

.cont_souhlas input, .cont_souhlas label {
	color: #8d8d8d;
}

.link_short_share {
	width: auto;
	background: transparent;
	padding: 0;
}
.link_short_share input {
	margin: 0 auto;
	width: 250px;
}

#navig ul {
	width: auto;
}
#cont_photos h2,
#cont_photos p {
	font-size: 120%;
	text-align: center;
}
#cont_photos h2 {
	font-size: 230%;
}
.no_photos {
	font-size: 130%;
}
#orders .mine {
	display: none;
}
.cont_img img.hover {
	position: relative;
	top: -107px;
}
/* nasadim jako pozadi #cont_bg1 a #cont_bg2 */
img#bg2, img#bg1 {
	display: none;
}
#test_captcha {
	z-index: 50;
}

/* basic responsive */
@media only screen and (max-width: 1580px) {
	img { max-width: 100%; height: auto; /*width: auto\9;*/ /* ie8 */ }
	.photo img { width: 100%;}
}

@media only screen and (max-width: 1024px) {
	#all_cont,
	#cont_bg2, #cont_bg1,
	#popis_souteze,
	#nazev_souteze,
	#nazev_souteze h1 {
		-o-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
		max-width: 100%;
	}	
}

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

  body { font-size: 70% }
  html { -webkit-text-size-adjust: none }
  input, textarea, input.text, textarea.text { max-width: 100%; width: auto; -o-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; display: block; }
  input[type="submit"] { -webkit-appearance: none }
	#reg_cont_photo,
	#regform {
		float: none;
	}
	#registrace #reg_cont_photo {
		margin: 0 auto;
	}
	input.text, textarea.text { width: 100%;}


  #header img, .video img { left: 50%; margin-left: -29px }

  .video-wrapper { position: relative; height: 0; margin: 0; padding: 35px 0 56.25%; overflow: hidden }
  .video-wrapper iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100% }

  .video-temp {padding: 35px 0 56.25%; overflow: hidden; width:100%; height:100%; margin:0 auto; position: relative}  
  .video-temp .start {color:#000; padding-top:100px; font-size: 160%}  
  .video-temp .countdown {position: absolute; top:50%; left:25%}
  
  .content { width: 85%; margin: 0 5% }
	div#getting-started,
	#popis_souteze,
	#nazev_souteze,
	#cont_nahrat,
	#hlas_done, #sucess_share, #registrace, #regform {
		margin: 0 5%;
		padding: 0;
		max-width: 100%;
		width: auto;
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
		-moz-box-sizing: border-box;    /* Firefox, other Gecko */
		box-sizing: border-box;         /* Opera/IE 8+ */
	}
	#cont_nahrat {
		top: auto;
		width: 271px; /* potvezeni sirky buttonu nahrat */
	}
	#add_video {
		padding: 5%;
	}
	#hlas_done, #sucess_share, #regform {
		padding: 5%;
	}
	#registrace {
		padding-top: 40px;
		margin: 0;
		width: 100%;
	}
	#registrace .cont_photo {
		float: none;
	}
	#sucess_share {
		padding: 1em 5%;
	}
	#cont_bg2, #cont_bg1 {
		height: auto;
	}
	#nazev_souteze  {
		top: auto;
		padding-top: 40px;
	}
	div#getting-started {
		margin-top: 3%;
		top: auto;
		bottom: 5%;
		right: auto;
	}
	div#getting-started {
		position: relative;
	}

	#cont_photos {
		padding: 5% 2%;
	}
	.PopWin, .PopWin2 {
		min-width: auto;
	}


}

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

@media only screen and (max-width: 628px) {
	#cont_nahrat {
		top: 0;
	}
}

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

@media only screen and (max-width: 414px) {
	#hlas_done, #sucess_share, #registrace {
		margin: 0;
		left: 0;
	}
  
	#cont_photos .cont_photo {
		float: none;
		margin: 5px auto;
	}
}
@media only screen and (max-width: 375px) {
	div#getting-started div.time {
		margin-left: 0px;
	}

}

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




#add_video {
	/*left: 120px;*/
	max-width: 600px;
	z-index: 100;
	padding: 38px;
	height: auto;
}	
#add_video input.video_url {
	width: 98%;
}
#add_video .video_zdroj_select {
	width: 124px;
	height: 60px;
	background: transparent url(../img/vimeo-video.png) 0 -5px no-repeat;
	float: left;
	margin-left: 40px;
}
#add_video .video_zdroj_select:hover {
	background-position: 0 -73px;
}
#add_video .video_zdroj_select.current {
	background-position: 0 -73px;
}
#add_video #youtube.current,
#add_video #youtube.current:hover {
	background-position: 0 -73px;
}
#add_video #youtube {
	width: 126px;
	height: 60px;
	background: url(../img/youtube-video.png) 0 -5px no-repeat;
}
#add_video #youtube:hover {
	background-position: 0 -73px;
}

#add_video #facebook {
	width: 126px;
	height: 60px;
	background: url(../img/fb-video.png) 0 -5px no-repeat;
}
#add_video #facebook:hover {
	background-position: 0 -73px;
}
#add_video #facebook.current,
#add_video #facebook.current:hover {
	background-position: 0 -73px;
}


#add_video #video_link_cont {
	display: none;
	position: relative;
}
#add_video #video_link_cont.show {
	display: block;
}
#add_video.PopWin p.title {
	margin-top: 1em;
}
#add_video #video_link_cont label {
/*	color: #ffffff;	 */
	font-size: 120%;
}
#add_video #video_link_cont #video_hide_control {
	margin-left: 30px;
}
#add_video #video_link_cont #video_hide_control.noshow,
#add_video #video_link_cont #label_video_hide_control.noshow {
	display: none;
}
.center {
	position: relative;
	left: 50%;
	text-align: center;
}
#add_video #video_link_cont .center {
	width: 400px;
	margin-left: -200px;
	margin-top: 15px;
}

#add_video .loading-img {
	left: 38px;
	top: 45px;
	z-index: 5;
}

.video-zavoj {width:100%; height:100%; background:transparent; position:absolute; top:0; left:0;}
