body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
table { border-collapse:collapse; border-spacing:0; }
fieldset,img { border:0; }
address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
ol,ul { list-style:none; }
caption,th { text-align:left; }
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
q:before,q:after { content:''; }
abbr,acronym { border:0; }

body { min-width: 1020px; font-family: "Times New Roman", Arial, sans-serif; font-size: 13px; background: #f1f1f1; color: #111; }
a { text-decoration: none; cursor: pointer; }
h1 { font-family: Arial, "Times New Roman", sans-serif; font-size: 20px; font-weight: bold; margin: 0 0 11px 0; }
h2 { font-family: Arial, "Times New Roman", sans-serif; font-size: 20px; font-weight: bold; margin: 0 0 11px 0; letter-spacing: -1px; }
h2 .parent { color: #ccc; padding: 0 10px 0 0; }
strong  { font-weight: bold; }
img { margin: 0 0 -4px 0; border: 0; }

.wrapper { width: 1020px; margin: 0 auto; overflow: hidden; text-align: left; }
.row { display: table; height: inherit; }
.cell { display: table-cell; vertical-align: middle; }
.clear { clear: both; }
.hidden { display: none; }

#navbar {
	width: 100%;
	min-width: 1020px;
	height: 60px;
	position: absolute;
	top: 0;
	background: url('images/c_111111_70.png');
	line-height: 60px;
	z-index: 998;
}
#navbar .wrapper { overflow: visible; }
#navbar ul { display: block; float: right; position: relative; z-index: 999; }
#navbar ul li { display: block; float: left; position: relative; }
#navbar ul a { padding: 0 6px; color: #f8f8f8; font-weight: bold; font-size: 14px; }
#navbar ul ul { 
	float: none; 
	position: absolute; 
	display: none;
	background: url('images/c_111111_70.png');
	top: 60px; 
	padding: 0 0 4px 0; 
	min-width: 110px; 
	margin-left: 0; 
}
#navbar ul ul li { display: block; float: none; line-height: 16px; }
#navbar ul ul a { display: block; padding: 2px 14px; font-weight: normal; font-size: 12px; }
#navbar ul ul a:hover { text-decoration: underline; }
#logo { display: block; float: left; width: 140px; height: 45px; margin: 5px 0 0 0; }

#slideshow { position: relative; width: 100%; height: 545px; background: #111; border-bottom: 10px solid #111; text-align: center; overflow: hidden; }
#slideshow .slide { position: absolute; top: 0; display: block; width: 100%; height: 545px; }
#slideshow .slide { z-index: 8; }
#slideshow .active { z-index: 10; }
#slideshow .last-active { z-index: 9; }
#buttons { z-index: 11; position: absolute; top: 520px; width: 100%;}
#buttons a { margin-right: 7px; }
#slideshow .title { width: 1020px; margin: -230px auto 0 auto; text-align: left; }
#slideshow .title p { font-size: 36px; }
#slideshow .title p span { padding: 1px 20px; background: url('images/c_white_80.png'); }
#slideshow .title p a { font-size: 48px; color: #b30000; padding: 1px 20px; background: url('images/c_white_80.png'); }
#slideshow .title p a:hover { color: #333; text-decoration: underline; }
#slideshow .descr { width: 1020px; margin: 25px auto 0 auto; text-align: left; }
#slideshow .descr a, #slideshow .descr span { padding: 8px 20px; background: url('images/c_111111_70.png'); font-size: 14px; color: #eee; }

#content { width: 100%; background: #fff url('images/content-bg.png') repeat-x; padding: 25px 0 5px 0; }

#mainColumn { font-family: Arial, sans-serif; text-align: justify; float: left; overflow: hidden; width: 512px; min-height: 400px; background: #fff; padding: 15px 10px 0 10px; border-top: 1px solid #ddd; }
#mainColumn ul { list-style-type: square; padding: 0 0 0 30px; }
#mainColumn hr { border: 0; border-bottom: 1px solid #ddd; }
#mainColumn a { color: #333; text-decoration: underline; }


#mainColumn a:hover { color: #b30000; }
#mainColumn img { width: 100%; height: auto; }

#mainColumn table.files { line-height: 16px; }
#mainColumn table.files td { 
	padding: 2px; 
	vertical-align: top;
}
#mainColumn table.files td.size { color: #666; }

.event_date {
	padding: 10px;
	margin: 0 0 10px 0;
	background: #f8f8f8;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	color: #888;
	border-bottom: 1px solid #ddd;
}
.post { margin: 0 0 15px 0; }
.post td { vertical-align: top; }
.event h3, .post h3 { font-family: Arial, "Times New Roman", sans-serif; font-size: 16px; font-weight: bold; letter-spacing: -1px; }
.event h3 a, .post h3 a { text-decoration: none !important; }
.event h3 a:hover, .post h3 a:hover { color: #b30000; text-decoration: underline;}
.post .thumb { float: left; border: 1px solid #ddd; display: block; width: 180px; height: 120px; margin: 0 10px -3px 0; overflow: hidden; }
.event .thumb:hover, .post .thumb:hover { border: 1px solid #aaa; }
.post .thumb img { width: 180px; min-height: 120px; height: auto; }
.event .date, .post .date { font-family: Arial, "Times New Roman", sans-serif; font-size: 11px; font-weight: bold; color: #999; margin: 0 0 3px 0; }
.event .intro, .post .intro { color: #444; line-height: 1.2; }
.event .intro a, .post .intro a { color: #b30000; }
.event .intro a:hover, .post .intro a:hover { color: #333; text-decoration: underline; }

.event { margin: 0 0 15px 0; }
.event td { vertical-align: middle; }
.event .thumb { float: left; border: 1px solid #ddd; display: block; width: 90px; height: 60px; margin: 0 10px -3px 0; overflow: hidden; }
.event .thumb img { width: 90px; min-height: 60px; height: auto; }

#content .pagination { 
	font-family: Arial, "Times New Roman", sans-serif; 
	text-align: right; 
	font-size: 12px;
}
#content .pagination span { padding: 0 2px; }
#content .pagination a { font-weight: bold; text-decoration: none; padding: 0 2px; }
#content .pagination a:hover { color: #b30000; }
#content .pagination .active { font-weight: bold; font-size: 1.4em; color: #b30000; }

.tkontakti td { padding-top: 0px; vertical-align: top; }
.tkontakti .title {
	text-transform: uppercase; 
	color: #aaa; 
	font-weight: bold; 
	font-size: 11px;
	padding: 2px 20px 0px 0;
}
.route { background-color: #e8e8e8; width: 100%; margin: 0 0 7px 0; border: 0;}
.route .title { padding: 3px 3px 3px 15px; }
.route .button { width: 30%; text-align: center; padding: 3px; }
.route .button a { text-transform: uppercase; color: #ffffff; font-size: 0.9em; line-height: 20px; }
.route .button img { margin: 0 -3px -5px 3px; width: 20px !important; height: 20px !important; }
.pdfico { width: 20px !important; height: 20px !important; margin: 0 3px -5px 0; }

#fader { float: left; width: 1px; height: 440px; background: url('images/content-fader.png') no-repeat; }

#leftBar { float: left; width: 237px; }
#leftBar .social { 
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	overflow: hidden; 
	height: 32px; 
	padding: 20px 0 0 0; 
	text-align: center;
}
#leftBar .social a { position: relative; }
#leftBar .social img { margin: 0 0 -30px 0; }
#leftBar .nav { border-right: 1px solid #ddd; }
#leftBar .nav a {
	font-weight: bold;
	font-size: 14px;
	color: #555;
	height: 36px;
	line-height: 36px;
	padding: 0 4px 0 9px;
	display: block;
	background: url('images/btn-bg.png') repeat-x; 
	border-bottom: 1px solid #ddd; 
	border-left: 1px solid #ddd;
	overflow: hidden; 
}
#leftBar .nav a:hover { color: #b30000; text-decoration: underline; }
#leftBar .nav ul { display: none; background: #fff; border: 1px solid #ddd; border-right: 0; border-top: 0; padding: 12px 30px; }
#leftBar .nav li.active ul { display: block !important; }
#leftBar .nav ul a { background: none; line-height: 16px; height: 16px; border: 0; font-size: 14px; font-weight: normal; padding: 0;}

#search_box { z-index: 998; display: block; height: 45px; width: 240px; line-height: 45px; background: #111; position: absolute; margin-top: -123px; text-align: center; }
#search_box input[type='text']{
	font-family: "Times New Roman", Arial, sans-serif;
	outline: 0;
	border: 1px solid #444;
	height: 21px;
	line-height: 21px;
	width: 173px;
	padding: 2px 3px;
	color: #999;
	background: #333;
}
#search_box input[type='text']:hover { border: 1px solid #666; }
#search_box button {
	margin: 0 10px 0 0;
	width: 25px; 
	height: 25px; 
	background: url('images/search.png') 0 1px no-repeat; 
	border: 0; 
	cursor: pointer; 
	text-indent: -9999px;
}

#rightBar { float: right; width: 240px; margin: 50px 0 0 0; }
#rightBar .block { display: block; padding: 8px 25px; border: 1px solid #ddd; background: #fff; margin: 0 0 10px 0; color: #333; }
#rightBar .block p { font-size: 13px; line-height: 15px; }
#rightBar .flags{ overflow: hidden; height: 32px; margin: -35px 0 0 0; text-align: center; }
#rightBar .language_selection li { display: inline; }
#rightBar .language_selection a { position: relative; }
#rightBar .language_selection img { margin: 0 0 -30px 0; }
#rightBar .logo { text-align: center; padding: 15px 0; }

#rightBar .nav { border-top: 1px solid #ddd; }
#rightBar .nav a {
	font-weight: bold;
	font-size: 14px;
	color: #555;
	height: 36px;
	line-height: 36px;
	padding: 0 4px 0 9px;
	display: block;
	background: url('images/btn-bg.png') repeat-x; 
	border: 1px solid #ddd; 
	border-top: 0;
	overflow: hidden; 
}
#rightBar .nav a:hover { color: #b30000; text-decoration: underline; }
#rightBar .nav ul { display: none; background: #fff; border: 1px solid #ddd; border-right: 0; border-top: 0; padding: 12px 30px; }
#rightBar .nav li.active ul { display: block !important; }
#rightBar .nav ul a { background: none; line-height: 16px; height: 16px; border: 0; font-size: 14px; font-weight: normal; padding: 0;}

.post_full h4, .event_full h4 { width: 400px; }
.post_full img, .event_full img { width: 100%; height: auto; border: 1px solid #ddd; margin: 0 0 2px 0; }
.post_full p, .event_full p { padding-bottom: 10px; }

.post_date { color: #888; font-family: Arial, "Times New Roman", sans-serif; font-size: 11px; margin: -10px 0 10px 0; }
.post_share, .event_share{ padding: 10px 5px; margin: 0 0 10px 0; background: #fafafa; border-bottom: 1px dotted #eee; border-top: 1px dotted #eee; }

.sw_up { background: #fff url('images/sw_up.png') repeat-x; width: 100%; height: 13px; }
#footer { width: 100%; padding: 20px 0; border-top: 1px solid #ddd; }
#footer .left { width: 50%; float: left; font-family: Arial, "Times New Roman", sans-serif; font-size: 11px; line-height: 16px; color: #888; font-weight: bold; } 
#footer .left  span { padding: 0 5px 0 0; }
#footer .right { width: 50%; float: right; text-align: right; font-family: Arial, "Times New Roman", sans-serif; font-size: 11px; line-height: 16px; color: #888; font-weight: bold; } 

#jautajumi { width: 300px; }
#jautajumi span { color: #888; font-size: 0.9em; font-weight: bold; }
#jautajumi input { border: 1px solid #ddd; width: 200px; height: 20px; margin: 0 0 10px 0; }
#jautajumi textarea { border: 1px solid #ddd;  width: 507px; height: 155px; margin: 0 0 10px 0; resize: vertical; }
#jautajumi .left { margin: 0 0 4px 0; }
#jautajumi .jautbtn {
	width: 150px; 
	height: 30px;
	line-height: 30px;
	font-size: 12px; 
	font-weight: bold;
	color: #777;
	background: url('images/btn-bg.png') repeat-x; 
	border: 1px solid #ddd;
	font-family: "Times New Roman", Arial, sans-serif;
}
#jautajumi .jautbtn:hover { border: 1px solid #c8c8c8; cursor: pointer; color: #b30000; text-decoration: underline; }

.nodinfo { margin: 0 0 10px 0;  width: 100%; border: 1px solid #e8e8e8; color: #333; }
.nodinfo th { background: #f8f8f8; padding: 6px 10px; border-bottom: 1px solid #e8e8e8; }
.nodinfo td { padding: 3px 10px; vertical-align: top; }
.nodinfo .uc, .nodinfo .title { width: 100px; font-weight: bold; }
.nodinfo .title { color: #555; }

.item { margin: 0 0 10px 0;  width: 100%; border: 1px solid #e8e8e8; color: #333; }
.item th { background: #f8f8f8; padding: 6px 15px; border-bottom: 1px solid #e8e8e8; font-size: 13px; }
.item .title { font-weight: bold; }
.item .link { width: 130px; }
.item .link a { color: #b30000; }
.item .link a:hover { color: #333; }
.item .thumb { padding: 10px 15px 10px 10px; }
.item .thumb a { display: block; width: 150px; height: 100px; overflow: hidden; border: 1px solid #ddd; }
.item .thumb a:hover { border: 1px solid #ccc; }
.item .thumb img { width: 150px; min-height: 100px; height: auto; }
.item table table { vertical-align: top; }
.item table table td { padding: 0 10px 0 0; vertical-align: top; }

#objekts { margin: 0 auto 10px auto; width: 100%; border: 1px solid #e8e8e8; color: #333; vertical-align: top;}
#objekts th { background: #f8f8f8; padding: 6px 15px; border-bottom: 1px solid #e8e8e8; font-size: 14px; text-align: center; font-weight: bold; }
#objekts td { padding: 0 10px 2px 0; vertical-align: top; }
#objekts .title { font-weight: bold; padding: 0 5px 2px 10px; min-width: 120px;}
#objekts .toprow td { padding-top: 10px; }
#objekts .lastrow td { padding-bottom: 10px; }

#gallery a { width: 128px; height: 96px; margin: 0; padding: 0; display: block; float: left; overflow: hidden; }
#gallery img { min-width: 128px; min-height: 96px; width: auto; height: auto; }

#albums  { width: 100%; }
#albums .album {
	font-family: Arial, "Times New Roman", sans-serif; 
	display: block;	
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	float: left;
	margin: 0.5%;
	width: 49%;
	padding: 10px;
	background: #f1f1f1;
}
#albums .album:hover { background: #e8e8e8; }
#albums .album .link { width: 96px; height: 72px; margin: 0 10px 0 0; padding: 0; display: block; float: left; overflow: hidden; }
#albums .album img { min-width: 96px; min-height: 72px; width: auto; height: auto; }
#albums .album a { font-size: 1.1em; }
#albums .album span { text-transform: uppercase; font-size: 0.8em; color: #777; font-weight: bold; }

#blackbox { 
	display: none;
	cursor: pointer;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
	height: 100%;
	background: url('images/px-000-80.png') repeat;
}
#blackbox .row { max-width: 800px; max-height: 100%; width: auto; margin: 0 auto; }
#blackbox .cell { text-align: center; }
#blackbox .data { position: relative; }
#blackbox .btn-close { position: absolute; top: -16px; right: -16px; width: 32px; height: 32px; background: url('images/btn-close.png') no-repeat; }
#blackbox img { width: 100%; height: auto; }


.blackbox  { box-sizing: border-box; }
.blackbox *, .blackbox *:before, .blackbox *:after {
  box-sizing: inherit;
}
.blackbox {
	z-index: 999;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color:rgba(0, 0, 0, 0.5);
}
.blackbox .table { display: table; width: inherit; height: inherit; }
.blackbox .cell { display: table-cell; width: inherit; height: inherit; vertical-align: middle; }
.blackbox .content {
	position: relative;
	width: 80%;
	min-width: 320px;
	margin: 0 auto;
	background: #fff;
	font-family: Arial, sans-serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.blackbox .button-close {
	position: absolute;
	display: block;
    top: -20px;
	right: -20px;
	width: 30px; 
	height: 30px;
    cursor:pointer;
    color: #fff;
    border: 0;
    border-radius: 5px;
    background: #333;
	font-size: 18px;
	line-height: 30px;
	text-align: center;
}
.blackbox .button-close:before {
	content: 'X';
	color: #fff;
	font-weight: 300;
	font-family: Arial, sans-serif;
}

#visitogre-redirect {
	width: 50%;
	text-align: center;
	padding: 40px 20px;
}
#visitogre-redirect p { padding: 15px 0 0 0; }