html,body,blockquote,div,form,h1,h2,h3,h4,h5,h6,ol,p,table,ul,li,td,th,button,img,legend,fieldset{margin:0;padding:0;}
html,body{height:100%;}
img,fieldset{border:0;}
table{border-collapse:collapse;border-spacing:0;}
th,td{text-align:left;font-weight:normal;}
body,select,input,textarea,button{font-family:Arial,Verdana,Helvetica,sans-serif;}
body{font-size:12px;}
select,input,textarea,button{font-size:1em;}
h1,h2,h3,h4,h5,h6{margin-bottom:0.8em;line-height:1em;}
h1{font-size:3.0em;}
h2{font-size:2.4em;}
h3{font-size:1.9em;}
h4{font-size:1.5em;}
h5{font-size:1.2em;}
h6{font-size:1em;}
p{padding:.2em 0 .7em;}
label{cursor:pointer;}
ul,ol{padding-left:2em;}
:focus{outline:0;}
button::-moz-focus-inner{padding:0;border:none}
.clear{clear:both;}

/* header */  
#header {
	height: 136px;
	background: url(g/header-back.png) 0 0 repeat-x;
}
#header-center {
	height: 130px;
	width: 982px;
	margin: 0 auto;
	position: relative;
	background: url(g/header.png) 50% 0 no-repeat;
}
#logo {
	display: block;
	position: absolute;
	left: 29px;
	top: 22px;
	width: 184px;
	height: 87px;
	background: url(g/logo.png) 0 0 no-repeat;
	text-indent: -9999px;
}
/* Language menu */
#lngmenu {
	position: absolute;
	right: 0;
	bottom: 0;
	height: 22px;
}
#lngmenu a {
	float: left;
	display: block;
	margin: 0 0 0 1px;
	width: 31px;
	height: 22px;
	background: url(g/lngbtns.png) 0 0 no-repeat;
	line-height: 22px;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	color: #000;
	text-decoration: none;
}
#lngmenu a:hover,
#lngmenu a.open {
	background-position: 0 100%;
}

/* Center */
#center {
	width: 982px;
	margin: 0 auto;
	padding: 22px 0;
}
/* Menu */
#menu {
	width: 220px;
	padding: 10px 10px 9px;
	border: 1px solid #f2f2f2;
	float: left;
}
#menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#menu ul ul {
	background: #ebebeb;
	padding: 5px 0;
}
#menu li {
	padding: 0 0 1px;
}
#menu a {
	display: block;
	line-height: 16px;
	padding: 7px 10px 7px 28px;
	background: #f8f8f8 url(g/arrow-1.png) 13px 13px no-repeat;
	font-size: 12px;
	color: #333;
	font-weight: bold;
	text-decoration: none;
}
#menu a:hover,
#menu a.open {
	background-color: #999;
	background-image: url(g/arrow-2.png);
	color: #fff;
}
#menu li li a {
	background-color: transparent;
	background-image: none;
	background-position: 13px 10px;
	color: #0070a7;
	font-weight: normal;
	font-size: 11px;
	line-height: 15px;
	padding-top: 5px;
	padding-bottom: 5px;
}
#menu li li a:hover,
#menu li li a.open {
	background-image: url(g/arrow-3.png);
	background-color: transparent;
	color: #0070a7;
}
#menu li li a.open {
	color: #000;
}
#menu li li a.open {
	background-image: url(g/arrow-4.png);
}
#menu li li a.open.this {
	background-image: url(g/arrow-3.png);
}
#menu li li li {
	padding-left: 28px;
}
#menu li li li a {	
	font-size: 10px;
}
#menu li li li a {
	padding: 2px 5px 2px 10px;
	background-position: 0 6px;
}
#menu li li li li {
	padding-left: 10px;
}

/* Content */
#content {
	width: 710px;
	float: right;
}
.content-box {
	padding: 10px;
	border: 1px solid #f2f2f2;
}
/* Content header */
#content-header {
	border-bottom: 5px solid #ffd400;
}
#content-header img {
	display: block;
}
/* Inner content */
.content-inner {
	padding: 12px;
}

/* Common elements */
body {
	font-size: 13px;
	color: #333;
	line-height: 20px;
}
p {
	margin: 0;
	padding: 0 0 20px;
}
a {
	color: #0070a8;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
hr {
	border: 0;
	height: 1px;
	background: #ccc;
}
h1 {
	font-size: 18px;
	font-weight: bold;
	margin: 0;
	padding: 0 0 20px;
	color: #0070a8;
}
h2 {
	font-size: 16px;
	font-style: italic;
	font-weight: bold;
	margin: 0;
	padding: 0 0 10px;
	color: #0070a8;
}
h3 {
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	padding: 0 0 10px;
	color: #0070a8;
}
h4 {
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	padding: 0;
	color: #0070a8;
}
ul, ol {
	margin: 0;
	padding: 0 0 20px 2em;
}
.content-inner ul {
	list-style-type: image;
	list-style-image: url(g/bullet-1.png);
}
.content-inner ul ul,
.content-inner ol ul {
	list-style-image: url(g/bullet-2.png);
	padding-bottom: 0;
}

.buttons {
	height: 28px;
}
.content-inner .buttons {
	padding-top: 10px;
}
.button {
	display: block;
	float: left;
	margin-right: 20px;
	height: 28px;
	line-height: 28px;
	background: url(g/btns.png) 0 0 repeat-x;
	color: #0070a8;
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}
.button span {
	display: block;
	height: 28px;
	background: url(g/btns.png) 100% -28px no-repeat;
}
.button span span {
	background-position: 0 -56px;
	padding: 0 9px 0 33px;
}
.button:hover {
	text-decoration: underline;
}
.button.right {
	float: right;
	margin-right: 0;
}
#print span span {
	background-position: 0 -84px;
}

/* News */
.news-item {
	position: relative;
	padding: 0 0 8px 80px;
}
.news-item span {
	position: absolute;
	left: 0;
}
.news-item a {
	display: block;
}

/* Frontpage */
#fp-left {
	width: 320px;
	float: left;
	margin-left: 8px;
}
#fp-right {
	width: 360px;
	float: right;
}
#fp-right .content-inner {
	padding-bottom: 0;
}

/* Footer */
#footer {
	margin: 0 1px;
	position: relative;
	clear: both;
	padding: 36px 3px 0;
	background: url(g/footer-line.png) 0 30px repeat-x;
	line-height: 30px;
	font-size: 10px;
	font-weight: bold;
	color: #333;
}
#footer-menu {
	position: absolute;
	right: 3px;
	bottom: 0;
	line-height: 30px;
	height: 30px;
	white-space: nowrap;
}
#footer-menu span {
	padding: 0 0 0 30px;
}
#footer-menu a {
	text-decoration: none;
	color: #333;
}
#footer-menu a:hover,
#footer-menu a.open {
	text-decoration: underline;	
}


table {
	width: 100%;
	margin: 0 0 18px 0;
}
th, td {
	border: 1px solid #fff;
	text-align: left;
	padding: 5px 10px;
}
th {
	background: #ffd400;
	font-weight: bold;
}
td {
	background: #f3f3f3;
}
tr:nth-child(even) td {
	background: #f8f8f8;
}


/* Files list */
.files {
	width: 208px;
	float: right;
	margin: 0 0 20px 20px;
}
.files .title {
	line-height: 30px;
	padding: 0 0 0 10px;
	font-weight: bold;
	color: #333;
	background: #ffd400;
}
.files .list {
	border: 1px solid #f5f5f5;
	border-bottom: 4px solid #d6d6d6;
	padding: 5px 0;
}
.files .list a {
	display: block;
	line-height: 14px;
	padding: 6px 5px 6px 37px;
	background-position: 9px 5px;
	background-repeat: no-repeat;
	color: #333;
}
.files .list a:hover {
	color: #0070a8;
	text-decoration: none;
}
.files .list a span {
	color: #999;
}
.files .list a.icon-jpg,
.files .list a.icon-png { background-image: url(g/icon-jpg.png); }
.files .list a.icon-doc,
.files .list a.icon-docx { background-image: url(g/icon-doc.png); }
.files .list a.icon-xls,
.files .list a.icon-xlsx { background-image: url(g/icon-xls.png); }
.files .list a.icon-ppt,
.files .list a.icon-pptx { background-image: url(g/icon-ppt.png); }
.files .list a.icon-pdf { background-image: url(g/icon-pdf.png); }


#jos {
	width: 680px;
	height: 521px;
	position: relative;
	background: url(g/julgeolekuskeem.png) 0 0 no-repeat;
}
#jos.eng {
	background-image: url(g/julgeolekuskeem_eng.png);
}
#jos div {
	position: absolute;
	cursor: help;
}
#jos div span {
	display: none;
	width: 250px;
	padding: 10px;
	background: #ebebeb;
	border: 1px solid #999;
	color: #000;
	line-height: 16px;
	position: absolute;
	z-index: 100;
	right: -20%;
	top: 110%;
}
#jos div:hover span {
	display: block;
}
#jos-1 { left: 253px; top: 37px; width: 175px; height: 40px; }
#jos-2 { left: 253px; top: 114px; width: 175px; height: 40px; }
#jos-3 { left: 482px; top: 106px; width: 198px; height: 53px; }
#jos-4 { left: 253px; top: 191px; width: 175px; height: 40px; }
#jos-5 { left: 253px; top: 266px; width: 175px; height: 53px; }
#jos-6 { left: 482px; top: 229px; width: 198px; height: 63px; }
.eng #jos-6 { top: 239px; height: 53px; }
#jos-7 { left: 1px; top: 353px; width: 115px; height: 40px; }
#jos-8 { left: 128px; top: 353px; width: 85px; height: 40px; }
#jos-9 { left: 221px; top: 353px; width: 126px; height: 40px; }
#jos-10 { left: 356px; top: 353px; width: 177px; height: 40px; }
#jos-11 { left: 542px; top: 353px; width: 137px; height: 40px; }
#jos-12 { left: 1px; top: 437px; width: 103px; height: 40px; }
.eng #jos-12 { width: 99px; }
#jos-13 { left: 105px; top: 437px; width: 68px; height: 40px; }
.eng #jos-13 { left: 101px; width: 87px; }
#jos-14 { left: 174px; top: 437px; width: 87px; height: 40px; }
.eng #jos-14 { left: 189px; width: 66px; }
#jos-15 { left: 262px; top: 437px; width: 95px; height: 40px; }
.eng #jos-15 { left: 256px; width: 81px; }
#jos-16 { left: 358px; top: 437px; width: 48px; height: 40px; }
.eng #jos-16 { left: 338px; width: 74px; }
#jos-17 { left: 407px; top: 437px; width: 81px; height: 61px; }
.eng #jos-17 { left: 413px; width: 75px; height: 52px; }
#jos-18 { left: 489px; top: 437px; width: 103px; height: 40px; }
.eng #jos-18 { width: 98px; height: 52px; }
#jos-19 { left: 594px; top: 437px; width: 85px; height: 40px; }
.eng #jos-19 { left: 588px; width: 91px; }


/* Gallery */
#gallery h2 {
	height: 30px;
	line-height: 30px;
	padding: 0 11px;
	background: #ffd400;
	color: #000;
	font-weight: bold;
	font-style: normal;
	font-size: 13px;
}
#gallery .gallery-box {
	border-top: 1px solid #fff;
	background: #ebebeb;
	padding: 0 10px;
}
#gallery .gallery-nav {
	height: 40px;
	line-height: 40px;
	position: relative;
	color: #0070a6;
	font-weight: bold;
	text-align: right;
}
#gallery .gallery-nav .count {
	position: absolute;
	left: 0;
	height: 40px;
	line-height: 40px;
	white-space: nowrap;
}
#gallery .gallery-nav a {
	color: #0070a6;
	text-decoration: none;
}
#gallery .gallery-nav a:hover {
	text-decoration: underline;
}
#gallery .gallery-nav .prev {
	padding: 0 5px 0 20px;
	background: url(g/arrow-5.png) 0 50% no-repeat;
}
#gallery .gallery-nav .next {
	padding: 0 20px 0 5px;
	background: url(g/arrow-6.png) 100% 50% no-repeat;
}
#gallery .pic {
	background: #fff url(../admin/css/g/ajax-loading.gif) 50% 50% no-repeat;
	text-align: center;
}
#gallery .pic img {
	display: block;
	margin: 0 auto;
}
#gallery .name {
	line-height: 20px;
	padding: 10px;
	background: #fff;
	color: #000;
	font-weight: bold;
	text-align: center;
}


/* Print style */
@media print {
	#header, #menu, #footer, #content-header, .buttons, .files, #gallery {
		display: none;
	}
	#center {
		width: auto;
		margin: 0;
		padding: 0;
	}
	#content {
		width: auto;
		float: none;
		padding: 0;
		border: 0;
		margin: 0;
	}
	.content-inner ul {
		list-style-type: disk;
		list-style-image: none;
	}
	
	th, td {
		background: #fff;
	}
}