
/* spolecny styl aplikace */
#profile_picture,
#btn_login_instagram,
#btn_login,
#cont_follow,
#instagram,
#all_cont .contenteditable,
#navig
{
	z-index: 7;
	position:relative;
}

#all_cont {
	margin: 0 auto;
	min-height: 1136px;
	padding: 70px 67px;
	text-align: left;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	box-sizing:        border-box;
	background: no-repeat top center; 
/*	background-size: 100% 100%; */
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#all_cont img {
   display: block;
   position: relative;
}

#all_cont img#bg {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 0;
}
#all_cont #title {
	font-size: 140%;
	color: #ffffff;
}
#overlay_app {
	z-index: 6;
	background: rgba(20, 20, 20, 0.7);
	display: block;
}

#zalozka #all_cont::after,
#all_cont::after {
	content: "";
	background: rgba(20, 20, 20, 0.6);
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: absolute;
	z-index: 1;   
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	pointer-events: inherit;
}

/* spolecny styl aplikace */
#zalozka {
	min-height: 1136px;
	background: #ffffff no-repeat; 
}

#profile_picture,
#cont_follow {
	display: inline-block;
	float: left;
}	
#cont_follow {
	float: right;
}
#profile_picture a {
	display: inline-block;
	font-size: 140%;
	color: #ffffff;
}
#profile_picture span {
	display: inline-block;
	float: left;
	margin-top: 20px;
	text-decoration: underline;
	margin-left: 10px;
}
#profile_picture img {
	float: left;
	width: 65px;
	height: 65px;
	border-radius: 50%;
	border: 3px solid #ffffff;
}

#cont_follow {
	width: 228px;
	height: 55px;
	overflow: hidden;
}
#cont_follow img:hover {
	top: -55px;
}

div#photos {
	position: relative;
}
div#photos div.photo {
	float: left;
/*	
	width: 180px;
	height: 180px;
*/	
	margin: 0 18px 18px 0;
	border: 1px solid #d0d0d0;
	background: #ffffff;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	width: 208px;
	height: 208px;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	box-sizing:        border-box;
	vertical-align: middle;
}

div#photos div.photo_2 {
	margin-right: 0;
}
div#photos div.photo img {
	max-width: 182px;
	max-height: 182px;
	border: 1px solid #d0d0d0;
	margin: 12px;
	vertical-align: middle;
	text-align: center;
	display: inline-block;
}
div#photos div.photo:hover .comment {
	bottom: 0;
}
div#photos div.photo .comment {
	position: absolute;
	bottom: -50px;
	padding: 5px 12px;
	color: #8e8e8e;
	background: #ffffff;
	width: 206px;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	box-sizing:        border-box;
	word-wrap: break-word;
	z-index: 5;
	border-top: 1px solid #d0d0d0;
	text-align: center;
	font-style: italic;
	transition: all 0.5s ease 0s;
}	
div#photos div.photo .comment .text {
	text-align: left;
}
div#photos div.photo .counts {
	display: inline-block;
	background: url(../img/ico_comment.png) center left no-repeat;
	padding: 3px 0 3px 16px;
}
div#photos div.photo .counts.likes {
	background-image: url(../img/ico_like.png);
}
div.photo_detail {
	position: absolute;
	top: -260px;
	left: 0;
	width: 500px;
	height: 500px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #ffffff;
	z-index: 60;
	color: #ffffff;
	font-size: 110%;
	padding: 0;
	border: 0;
	border-radius: 0;
}
div.photo_detail .close {
	background: url(../img/ico_close.png);
	width: 30px;
	height: 30px;
	padding: 0;
	margin-top: 10px;
	margin-right: 10px;
}
div.photo_detail .close:hover {
	background-position: 0 0;
}
div.photo_detail .comment {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 18px;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	box-sizing:        border-box;
	background: rgba(0, 0, 0, 0.5);
	max-width: 500px; /*or whatever*/
	width: 500px; /*or whatever*/
	word-wrap: break-word;
}
div.photo_detail .comment .text {
	text-align: left;
	margin-bottom: 1em;
}	
div.photo_detail .comment .fb-like {
	margin-left: 4px;
}
div#navig {
	text-align: center;
	display: block;
	margin: 0 auto;
	background: transparent;
}
div#navig a {
	display: inline-block;
	width: 15px;
	height: 20px;
	background: url(../img/sipka1.png) no-repeat 0 -20px;
	margin: 20px;
}
div#navig a.next {
	background-image: url(../img/sipka2.png);
}	
div#navig a:hover {
	background-position: 0 0;
}

#instagram {
	text-align: center;
}

#inst_set_cont {
	display: inline-block;
	margin: 10px auto;
}

.inst_set {
	display: block;
	min-width: 175px;
	height: 48px;
	line-height: 48px;
/*	border: 1px solid red; */
	border-radius: 5px;
	background: #616161;
	float: left;
	vertical-align: middle;
	font-size: 130%;
	color: #ffffff;
	cursor: pointer;

}
.inst_set input {
	font-size: 100%;
}
#inst_set_cont .inst_set div {
	display: inline-block;
	text-align: center;
	width: 100%;
	vertical-align: middle;
	padding: 0 20px;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	box-sizing:        border-box;
}	
#inst_set_cont #inst_set_profile {
/*
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
*/	
}

#inst_set_hash.activated,
#inst_set_profile.activated {
	background: #4dcb43;
}	
#inst_set_cont #inst_set_hash {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}	
/* vyjimka pokud je jeden z vyberu kanalu samostatne! */
#inst_set_cont #inst_set_hash.alone,
#inst_set_cont #inst_set_profile.alone {
	border-radius: 5px;
}
a {
	color: #ffffff;
}

/* navigace fotografii */
#navig {
	margin-top: 20px;
}
#navig ul {
	display: table;	
	margin: 0;
	padding: 3px;
	width: 50px;
	margin: auto;
}

#navig ul li {
	position: relative;
	display: table-cell;
	vertical-align: middle;
	font-size: 140%;
	padding-left: 3px;
	cursor: pointer;
}
	
#navig ul li span {
	display: block;
	margin: 0 auto;
	height: 31px;
	line-height: 30px;
	width: 31px;
	color: #ffffff;
	font-weight: bold;
	text-align: center;
	border-radius: 50%;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	box-sizing:        border-box;
}
#navig ul li span a {
	display: block;
	height: 100%;
	color: #ffffff;
	text-decoration: none;
}	

#navig li span {
	background: -webkit-linear-gradient(to bottom, #cbccd0 , #bdbdbb); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(to bottom, #cbccd0, #bdbdbb); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(to bottom, #cbccd0, #bdbdbb); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom, #cbccd0 , #bdbdbb); /* Standard syntax (must be last) */
}	
#navig ul li.right:hover span,
#navig ul li.right span,
#navig ul li.left:hover span,
#navig ul li.left span {
	height: 20px;
	border-radius: 0;
	background: transparent url(../img/navig/sipka5_left.png) 8px 0 no-repeat;

}
#navig ul li.right:hover span,
#navig ul li.right span {
	background: transparent url(../img/navig/sipka5_right.png) 8px 0 no-repeat;
}
#navig ul li.right:hover span,
#navig ul li.left:hover span {
	background-position: 8px -20px;
}

#navig.color1 ul li.right:hover span,
#navig.color1 ul li.right span {
	background-image: url(../img/navig/sipka1_right.png);
}
#navig.color1 ul li.left:hover span,
#navig.color1 ul li.left span {
	background-image: url(../img/navig/sipka1_left.png);
}
#navig.color2 ul li.right:hover span,
#navig.color2 ul li.right span {
	background-image: url(../img/navig/sipka2_right.png);
}
#navig.color2 ul li.left:hover span,
#navig.color2 ul li.left span {
	background-image: url(../img/navig/sipka2_left.png);
}
#navig.color3 ul li.right:hover span,
#navig.color3 ul li.right span {
	background-image: url(../img/navig/sipka3_right.png);
}
#navig.color3 ul li.left:hover span,
#navig.color3 ul li.left span {
	background-image: url(../img/navig/sipka3_left.png);
}
#navig.color4 ul li.right:hover span,
#navig.color4 ul li.right span {
	background-image: url(../img/navig/sipka4_right.png);
}
#navig.color4 ul li.left:hover span,
#navig.color4 ul li.left span {
	background-image: url(../img/navig/sipka4_left.png);
}
#navig.color5 ul li.right:hover span,
#navig.color5 ul li.right span {
	background-image: url(../img/navig/sipka5_right.png);
}
#navig.color5 ul li.left:hover span,
#navig.color5 ul li.left span {
	background-image: url(../img/navig/sipka5_left.png);
}
#navig.color6 ul li.right:hover span,
#navig.color6 ul li.right span {
	background-image: url(../img/navig/sipka6_right.png);
}
#navig.color6 ul li.left:hover span,
#navig.color6 ul li.left span {
	background-image: url(../img/navig/sipka6_left.png);
}
#navig.color7 ul li.right:hover span,
#navig.color7 ul li.right span {
	background-image: url(../img/navig/sipka7_right.png);
}
#navig.color7 ul li.left:hover span,
#navig.color7 ul li.left span {
	background-image: url(../img/navig/sipka7_left.png);
}
#navig.color8 ul li.right:hover span,
#navig.color8 ul li.right span {
	background-image: url(../img/navig/sipka8_right.png);
}
#navig.color8 ul li.left:hover span,
#navig.color8 ul li.left span {
	background-image: url(../img/navig/sipka8_left.png);
}


#navig.color1 li.current span,
#navig.color1 li:hover span,
#cont_photos .color1 .order.current,
#cont_photos .color1 .order:hover {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#14c7b1+0,009e87+100 */
	background: rgb(20,199,177); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(20,199,177,1) 0%, rgba(0,158,135,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(20,199,177,1)), color-stop(100%,rgba(0,158,135,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(20,199,177,1) 0%,rgba(0,158,135,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(20,199,177,1) 0%,rgba(0,158,135,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(20,199,177,1) 0%,rgba(0,158,135,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(20,199,177,1) 0%,rgba(0,158,135,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#14c7b1', endColorstr='#009e87',GradientType=0 ); /* IE6-9 */
}	
#navig.color2 li.current span,
#navig.color2 li:hover span,
#cont_photos .color2 .order.current,
#cont_photos .color2 .order:hover {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#01c973+0,3cbc81+100 */
	background: rgb(1,201,115); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(1,201,115,1) 0%, rgba(60,188,129,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(1,201,115,1)), color-stop(100%,rgba(60,188,129,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(1,201,115,1) 0%,rgba(60,188,129,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(1,201,115,1) 0%,rgba(60,188,129,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(1,201,115,1) 0%,rgba(60,188,129,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(1,201,115,1) 0%,rgba(60,188,129,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#01c973', endColorstr='#3cbc81',GradientType=0 ); /* IE6-9 */
}	
#navig.color3 li.current span,
#navig.color3 li:hover span,
#cont_photos .color3 .order.current,
#cont_photos .color3 .order:hover {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3d9ac6+0,42ade3+100 */
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3d9ac6+0,42ade3+100 */
	background: rgb(61,154,198); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(61,154,198,1) 0%, rgba(66,173,227,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(61,154,198,1)), color-stop(100%,rgba(66,173,227,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(61,154,198,1) 0%,rgba(66,173,227,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(61,154,198,1) 0%,rgba(66,173,227,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(61,154,198,1) 0%,rgba(66,173,227,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(61,154,198,1) 0%,rgba(66,173,227,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d9ac6', endColorstr='#42ade3',GradientType=0 ); /* IE6-9 */
}	
#navig.color4 li.current span,
#navig.color4 li:hover span,
#cont_photos .color4 .order.current,
#cont_photos .color4 .order:hover {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#9e5eb5+0,904aac+100 */
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#9e5eb5+0,904aac+100 */
	background: rgb(158,94,181); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(158,94,181,1) 0%, rgba(144,74,172,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(158,94,181,1)), color-stop(100%,rgba(144,74,172,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(158,94,181,1) 0%,rgba(144,74,172,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(158,94,181,1) 0%,rgba(144,74,172,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(158,94,181,1) 0%,rgba(144,74,172,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(158,94,181,1) 0%,rgba(144,74,172,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e5eb5', endColorstr='#904aac',GradientType=0 ); /* IE6-9 */
}	
#navig.color5 li.current span,
#navig.color5 li:hover span,
#cont_photos .color5 .order.current,
#cont_photos .color5 .order:hover {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#facb3d+0,fd9a01+100 */
	background: rgb(250,203,61); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(250,203,61,1) 0%, rgba(253,154,1,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(250,203,61,1)), color-stop(100%,rgba(253,154,1,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(250,203,61,1) 0%,rgba(253,154,1,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(250,203,61,1) 0%,rgba(253,154,1,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(250,203,61,1) 0%,rgba(253,154,1,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(250,203,61,1) 0%,rgba(253,154,1,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#facb3d', endColorstr='#fd9a01',GradientType=0 ); /* IE6-9 */
}	
#navig.color6 li.current span,
#navig.color6 li:hover span,
#cont_photos .color6 .order.current,
#cont_photos .color6 .order:hover {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ee7d15+0,dc5400+100 */
	background: rgb(238,125,21); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(238,125,21,1) 0%, rgba(220,84,0,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,125,21,1)), color-stop(100%,rgba(220,84,0,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(238,125,21,1) 0%,rgba(220,84,0,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(238,125,21,1) 0%,rgba(220,84,0,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(238,125,21,1) 0%,rgba(220,84,0,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(238,125,21,1) 0%,rgba(220,84,0,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ee7d15', endColorstr='#dc5400',GradientType=0 ); /* IE6-9 */
}	
#navig.color7 li.current span,
#navig.color7 li:hover span,
#cont_photos .color7 .order.current,
#cont_photos .color7 .order:hover {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f24c34+0,c83a22+100 */
	background: rgb(242,76,52); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(242,76,52,1) 0%, rgba(200,58,34,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(242,76,52,1)), color-stop(100%,rgba(200,58,34,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(242,76,52,1) 0%,rgba(200,58,34,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(242,76,52,1) 0%,rgba(200,58,34,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(242,76,52,1) 0%,rgba(200,58,34,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(242,76,52,1) 0%,rgba(200,58,34,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f24c34', endColorstr='#c83a22',GradientType=0 ); /* IE6-9 */
}	
#navig.color8 li.current span,
#navig.color8 li:hover span,
#cont_photos .color8 .order.current,
#cont_photos .color8 .order:hover {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ecf0f1+1,bbc3c6+100 */
	background: rgb(236,240,241); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(236,240,241,1) 1%, rgba(187,195,198,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(236,240,241,1)), color-stop(100%,rgba(187,195,198,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(236,240,241,1) 1%,rgba(187,195,198,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(236,240,241,1) 1%,rgba(187,195,198,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(236,240,241,1) 1%,rgba(187,195,198,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(236,240,241,1) 1%,rgba(187,195,198,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecf0f1', endColorstr='#bbc3c6',GradientType=0 ); /* IE6-9 */
	color: #000000;
}

/* ovladaci prvky */
.setBgColor,
#ovladaci_prvky {
	width: auto;
	text-align: center;
	color: #ffffff;
	font-size: 150%;
	font-size: bold;
}

