/*  ZAKLADNE TRIEDY  */

.m20s40 { margin: 10px 40px; }
.p60lr { padding: 0px 25px 0px 25px; }
.radius {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
a.gal, a.sgal {
	text-decoration: none;
	font-size: 16px;
	font-family: 'PT Sans', Segoe UI, sans-serif; }
a.gal {
	color: #bfbfbf; }
a.sgal {
	color: #f4595f;
	font-weight: bold; }
a.egal {
	color: #468cfe;
	text-decoration: none; }
a.gal:hover, a.sgal:hover, a.egal:hover  {
	text-decoration: underline; }
/*  PREDDEFINOVANE TRIEDY  */
.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }

/*  HORNA LISTA  */
table.gallery_bar {
	width: 100%;
	height: 47px; }
table.gallery_bar td.tmenu {
	width: 10%; }
table.gallery_bar td.title {
	width: 57%; }

/*  BUTTONY  */
.red-button {
	font-family: FiraSansOT-Bold;
	color: #f4a8ab;
	font-size: 15px;
	background: #f3595f;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding: 10px 20px;
	line-height: 20px;
	height: 40px;
	margin: 10px 0px;
	border: none;
	border-bottom: 3px solid #cf4c51;
	cursor: pointer; }
.red-button:hover {
	color: #fff;
	border-bottom: 3px solid #7c2e2f; }

.grey-button {
	font-family: FiraSansOT-Regular;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	/*box-shadow: inset 0 -3px 0px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: inset 0 -3px 0px 0px rgba(0,0,0,0.15);
	-webkit-box-shadow: inset 0 -3px 0px 0px rgba(0,0,0,0.15);*/
	border: none;
	border-bottom: 3px solid #bfbfbf;
	margin: 10px 0px;
	background: #e1e1e1;
	color: #81868c;
	font-size: 13px;
	line-height: 14px;
	padding: 8px 12px;
	height: 30px;
	cursor: pointer; }

.blue-button {
	font-family: FiraSansOT-Regular;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	/*box-shadow: inset 0 -3px 0px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: inset 0 -3px 0px 0px rgba(0,0,0,0.15);
	-webkit-box-shadow: inset 0 -3px 0px 0px rgba(0,0,0,0.15);*/
	border: none;
	border-bottom: 3px solid #3c77d9;
	margin: 10px 0px;
	background: #478dff;
	color: #fff;
	font-size: 13px;
	line-height: 14px;
	padding: 8px 12px;
	height: 30px;
	cursor: pointer; }

/*  SIPKY NA POSUVANIE  */
td.photo_detail {
	width: 620px;
	vertical-align: top;
	cursor: pointer; }
td.photo_detail div.next {
	position: relative;
	width: 50px;
	height: 50px;
	line-height: 50px;
	font-size: 35px;
	color: #FFF;
	background-color: rgba(15, 15, 15, 0.6);
	border: 1px solid #9A9A9A;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer; }
td.photo_detail div.back {
	position: relative;
	width: 50px;
	height: 50px;
	line-height: 50px;
	left: 7px;
	font-size: 35px;
	color: #FFF;
	background-color: rgba(15, 15, 15, 0.6);
	border: 1px solid #9A9A9A;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer; }

/*  NAHLAD GALERII A FOTIEK  */

#galery_containter { -ms-text-justify: distribute-all-lines; text-justify: distribute-all-lines; text-align: justify;min-width: 500px; max-width: 960px; margin-top:15px; }
#galery_containter:after {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}


table.iphoto {
	margin-top: 20px;
	width: 100%; }

div.warn-list {
	width: 100%;
	height: 40px;
	line-height: 40px;
	background: #a5c7ff;
	border-top: 1px solid #468cfe;
	border-bottom: 1px solid #468cfe;
	text-align: center;
	margin-bottom: 25px;
}
div.gallery_border {
	width: auto;
	height: 144px;
	display: inline-block;
  *display: inline;
  zoom: 1
}

div.gallery_border.photo { height:auto; }

div.gallery_border div.infotext {
	line-height: 40px;
	height: 40px;
	width: auto;
	background: rgba(99, 107, 135, 0.8);
	position: relative;
	top: -64px;
	font-size: 13px;
	color: #FFF;
	display: none; }
div.gallery_border div.countbox {
	line-height: 20px;
	height: 20px;
	font-size: 13px;
	color: #FFF;
	position: relative;
	top: -140px;
	left: 6px;
	z-index: 1000;
	display: none; }
div.gallery_border div.countbox span {
	padding: 6px 6px;
	background: rgba(99, 107, 135, 0.8);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

div.description { padding-top: 25px; }

/*  HESLO DO GALERIE  */
input.textfield {
	background: #f5f5f5;
	box-shadow: inset 0 1px 1pg rgba(0, 0, 0, 0.1);
	-moz-box-shadow: inset 0 1px 1pg rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: inset 0 1px 1pg rgba(0, 0, 0, 0.1);
	border: 1px solid #eaeaea;
	padding: 10px 15px;
	line-height: 20px;
	height: 16px;
	font-size: 13px;
	font-weight: normal;
	color: #2e3641;
	margin: 5px 0px;
	font-family: FiraSansOT-Regular; }